mirror of
https://github.com/arthur-pbty/gestion-perso.git
synced 2026-06-27 06:27:52 +02:00
add anti crash + command
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import { PermissionsBitField, Message, Client } from 'discord.js';
|
||||
|
||||
module.exports = {
|
||||
name: 'invite',
|
||||
aliases: ['inv'],
|
||||
description: 'Crée un lien d\'invitation pour un serveur spécifique',
|
||||
emote: '🔗',
|
||||
utilisation: 'invite [guildId]',
|
||||
category: 'botcontrol',
|
||||
utilisation: '[guildId]',
|
||||
permission: '10',
|
||||
|
||||
async execute(message: Message, args: string[], client: Client) {
|
||||
if (!args[0]) return message.reply('Veuillez fournir l\'ID du serveur.');
|
||||
|
||||
Reference in New Issue
Block a user