Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 417 Bytes

readme.md

File metadata and controls

17 lines (11 loc) · 417 Bytes

RVAPI

RVAPI - A Typescript library for the Revolt API

Example

import { createClient } from 'jsr:@jersey/rvapi'; // or whatever works

const client = createClient({
	token: '<insert token>',
});

client.bonfire.on('Message', console.log);

client.request('post', '/channels/{channel}/messages', { content: 'hello' });