mirror of
https://github.com/arthur-pbty/gestion-perso.git
synced 2026-06-27 14:17:16 +02:00
add anti crash + command
This commit is contained in:
@@ -5,6 +5,8 @@ module.exports = {
|
||||
description: 'Liste les serveur du bot',
|
||||
emote: '🌐',
|
||||
utilisation: '',
|
||||
permission: '10',
|
||||
|
||||
async execute(message: Message, args: string[], client: Client) {
|
||||
if (!client.user) return;
|
||||
const guilds = Array.from(client.guilds.cache.values()).map((guild, index) => `${index + 1}. ${guild.name} : ${guild.id}`).join("\n\n");
|
||||
|
||||
Reference in New Issue
Block a user