mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-18 13:46:29 +02:00
Ajout des alias pour les commandes existantes
This commit is contained in:
@@ -2,7 +2,12 @@ const { EmbedBuilder } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'channel',
|
||||
aliases: ['salon', 'channelinfo', 'saloninfo'],
|
||||
description: 'Affiche les informations sur un salon',
|
||||
category: 'utils',
|
||||
emote: '📌',
|
||||
utilisation: 'channel <#salon>',
|
||||
|
||||
async execute(message) {
|
||||
const channel = message.mentions.channels.first() || message.channel;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user