From 3e9a2101d503ecee43b8d820c7eae7fa5943799a Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Fri, 14 Jun 2024 19:51:34 +0300 Subject: [PATCH] I did this.botName and not bot.botName lol --- chatBot/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatBot/bot.js b/chatBot/bot.js index 88cc5e9..d5eabd7 100644 --- a/chatBot/bot.js +++ b/chatBot/bot.js @@ -64,7 +64,7 @@ loadCommands().then(commands => { bot.joinChatRoom(process.env.LINKUP_ROOM_ID); - bot.fetchAvatar(`https://avatar.iran.liara.run/username?username=${this.botName}&background=f4d9b2&color=FF9800&size=40`); // Debugging avatar + bot.fetchAvatar(`https://avatar.iran.liara.run/username?username=${bot.botName}&background=f4d9b2&color=FF9800&size=40`); // Debugging avatar }).catch(error => { console.error('Error loading commands:', error); }); \ No newline at end of file