This commit is contained in:
Skillz
2020-05-18 08:27:34 -04:00
2 changed files with 5 additions and 0 deletions

View File

@@ -311,4 +311,5 @@ This section will list out all the available methods and functionality in the li
```ts
.editBotsStatus(status, name, type)
updateEventHandlers(eventHandlers)
```

View File

@@ -50,3 +50,7 @@ export default createClient;
export const updateChannelCache = (key: string, value: Channel) => {
cache.channels.set(key, value);
};
export function updateEventHandlers(newEventHandlers: EventHandlers) {
eventHandlers = newEventHandlers;
}