mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
More++ debug
This commit is contained in:
parent
b550ce0c8e
commit
5e13938f60
2 changed files with 20 additions and 2 deletions
|
@ -51,13 +51,15 @@ export const MessageSaverPlugin = zeppelinGuildPlugin<MessageSaverPluginType>()(
|
|||
state.debugId = ++debugId;
|
||||
|
||||
if (debugGuilds.includes(pluginData.guild.id)) {
|
||||
console.log(`MessageSaverPlugin::beforeLoad (${state.debugId}): ${pluginData.guild.id}`);
|
||||
console.log(`[!! DEBUG !!] MessageSaverPlugin::beforeLoad (${state.debugId}): ${pluginData.guild.id}`);
|
||||
}
|
||||
},
|
||||
|
||||
beforeUnload(pluginData) {
|
||||
if (debugGuilds.includes(pluginData.guild.id)) {
|
||||
console.log(`MessageSaverPlugin::beforeUnload (${pluginData.state.debugId}): ${pluginData.guild.id}`);
|
||||
console.log(
|
||||
`[!! DEBUG !!] MessageSaverPlugin::beforeUnload (${pluginData.state.debugId}): ${pluginData.guild.id}`,
|
||||
);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue