Mise à jour de 'Bot.js'
This commit is contained in:
parent
7bd3661eb5
commit
87f3faafb5
2
Bot.js
2
Bot.js
@ -19,7 +19,7 @@ client.on('messageCreate', async message => {
|
||||
if (message.author.bot) return;
|
||||
|
||||
// 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 avatarUrl = user.displayAvatarURL({extension: 'png', size: 1024});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user