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:
parent
8a94f4e8d2
commit
6fbb47a41e
1 changed files with 1 additions and 3 deletions
|
@ -52,9 +52,7 @@ export const AFKPlugin = zeppelinGuildPlugin<AFKPluginType>()("afk", {
|
||||||
commands: [AfkSetCmd],
|
commands: [AfkSetCmd],
|
||||||
events: [AFKNotificationEvt],
|
events: [AFKNotificationEvt],
|
||||||
|
|
||||||
onLoad(pluginData) {
|
onLoad({ state }) {
|
||||||
const { state } = pluginData;
|
|
||||||
|
|
||||||
state.afkUsers = new AFK();
|
state.afkUsers = new AFK();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue