mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
15 lines
411 B
JavaScript
15 lines
411 B
JavaScript
module.exports = {
|
|
name: 'say',
|
|
description: 'Fait dire quelque chose au bot',
|
|
async execute(message, args) {
|
|
// Vérifie si un message a été spécifié
|
|
if (args.length === 0) {
|
|
return message.reply('Veuillez spécifier un message.');
|
|
}
|
|
|
|
|
|
const text = args.join(' ');
|
|
await message.delete();
|
|
message.channel.send(text);
|
|
},
|
|
}; |