mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
20 lines
624 B
JavaScript
20 lines
624 B
JavaScript
const { MessageEmbed } = require('discord.js');
|
|
const db = require('quick.db');
|
|
const GestionDb = new db.table("gestion");
|
|
|
|
module.exports = {
|
|
name: 'clearwl',
|
|
aliases: ['clearwhitelist'],
|
|
description: 'Supprimer tout la whitelist',
|
|
emote: '👑',
|
|
utilisation: 'clearwl',
|
|
category: 'buyer',
|
|
|
|
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")
|
|
},
|
|
}; |