mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Update src/handlers/mod.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ export let handlers = {
|
|||||||
|
|
||||||
export type Handlers = typeof handlers;
|
export type Handlers = typeof handlers;
|
||||||
|
|
||||||
export function updateHandlers(newHandlers: Handlers) {
|
export function updateHandlers(newHandlers: Partial<Handlers>) {
|
||||||
handlers = {
|
handlers = {
|
||||||
...handlers,
|
...handlers,
|
||||||
...newHandlers,
|
...newHandlers,
|
||||||
|
|||||||
Reference in New Issue
Block a user