mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
refactor: decouple system events from command dispatch and add explicit system event handlers and improve gateway handling
This commit is contained in:
@@ -68,6 +68,10 @@ export class UnicordDiscordAPI {
|
||||
return this.request('POST', path, data);
|
||||
}
|
||||
|
||||
async put<T = any>(path: string, data: any): Promise<T> {
|
||||
return this.request('PUT', path, data);
|
||||
}
|
||||
|
||||
async patch<T = any>(path: string, data: any): Promise<T> {
|
||||
return this.request('PATCH', path, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user