mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-11-11 07:13:37 -05:00
[Events] Refresh event loading & organisation (#11)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Guild } from 'discord.js';
|
||||
import { Database } from '../../shared/Database';
|
||||
|
||||
export default {
|
||||
event: 'guildCreate',
|
||||
|
||||
handler: async (guild: Guild) => {
|
||||
await Database.getOrCreateSettings(guild.id);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user