refactor: decouple system events from command dispatch and add explicit system event handlers and improve gateway handling

This commit is contained in:
2026-05-17 22:27:25 -05:00
parent 8b1eecd823
commit ce45eacb3b
11 changed files with 313 additions and 84 deletions
+4
View File
@@ -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);
}