3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 02:25:01 +00:00

fix: crash hotfix

This commit is contained in:
Dragory 2022-04-23 17:55:05 +03:00
parent 28d947b193
commit 1c9812b5a6

View file

@ -72,6 +72,6 @@ export const LocateUserPlugin = zeppelinGuildPlugin<LocateUserPluginType>()({
}, },
beforeUnload(pluginData) { beforeUnload(pluginData) {
pluginData.state.unregisterGuildEventListener(); pluginData.state.unregisterGuildEventListener?.();
}, },
}); });