Skip to content

williamhorning/rvapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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' });