mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-05 13:51:57 +02:00
15 lines
520 B
JavaScript
15 lines
520 B
JavaScript
const { MessageEmbed } = require('discord.js');
|
|
const db = require('quick.db');
|
|
const GestionDb = new db.table("gestion");
|
|
|
|
module.exports = {
|
|
name: 'clearwl',
|
|
description: 'Supprimer tout la whitelist',
|
|
async execute(message, args, client) {
|
|
const botId = message.client.user.id;
|
|
const guildId = message.guild.id;
|
|
GestionDb.set(`${botId}.${guildId}.whitelist`, {});
|
|
console.log("whitelist renouveler")
|
|
message.reply("Toutes la whitelist a etait supprimer")
|
|
},
|
|
}; |