Revert "Update event (deso grose pagaille)"

This reverts commit 16d357208f.
This commit is contained in:
*x1
2024-05-28 21:46:20 +02:00
parent eaebe1f3db
commit c82c7ff03a
7 changed files with 20 additions and 46 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
const { Events } = require('discord.js');
const db = require('../fonctions/database.js');
module.exports = {
name: 'guildCreate',
name: Events.GuildCreate,
async execute(guild) {
db.run(`INSERT OR IGNORE INTO config (guildId, name, value) VALUES (?, ?, ?)`, [guild.id, 'prefix', '&']);
guild.members.cache.forEach(member => {