Only send welcome messages once per user, until plugin reload
This commit is contained in:
parent
902be16ae8
commit
1787ec707c
3 changed files with 9 additions and 0 deletions
|
@ -30,5 +30,6 @@ export const WelcomeMessagePlugin = zeppelinPlugin<WelcomeMessagePluginType>()("
|
|||
const { state, guild } = pluginData;
|
||||
|
||||
state.logs = new GuildLogs(guild.id);
|
||||
state.sentWelcomeMessages = new Set();
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue