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

perf: Removed unecessary destructuring

This commit is contained in:
Jonathan 2021-04-12 10:36:34 -04:00
parent 8a94f4e8d2
commit 6fbb47a41e
No known key found for this signature in database
GPG key ID: 19B04E3CBE0885B1

View file

@ -52,9 +52,7 @@ export const AFKPlugin = zeppelinGuildPlugin<AFKPluginType>()("afk", {
commands: [AfkSetCmd],
events: [AFKNotificationEvt],
onLoad(pluginData) {
const { state } = pluginData;
onLoad({ state }) {
state.afkUsers = new AFK();
}
})