Mise à jour de 'Bot.js'

This commit is contained in:
Hugo DIMITRIJEVIC 2023-11-06 23:12:09 +01:00
parent 7bd3661eb5
commit 87f3faafb5

2
Bot.js
View File

@ -19,7 +19,7 @@ client.on('messageCreate', async message => {
if (message.author.bot) return; if (message.author.bot) return;
// Vérifie si le message contient "UwU" ou "uwu" // Vérifie si le message contient "UwU" ou "uwu"
if (message.content.includes("UwU") || message.content.includes("uwu")) { if (message.content.toLowerCase().includes('uwu')) {
const user = message.author; const user = message.author;
const avatarUrl = user.displayAvatarURL({extension: 'png', size: 1024}); const avatarUrl = user.displayAvatarURL({extension: 'png', size: 1024});