I did this.botName and not bot.botName lol

This commit is contained in:
MrMasrozYTLIVE 2024-06-14 19:51:34 +03:00
parent 2d0f97bc8f
commit 3e9a2101d5

View File

@ -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);
});