Looks very cool, but sadly this didn't work for me. I even put a console.log right under module. Exports in the giveUserXp code which never prints out.
You'd be better off make that /leaderboard searches for the let's say 10 users with the highest levels, otherwise storing a leaderboard in the database would need to update the said leaderboard every single time someone levels up, instead, it'd just go search once for the highest level users when asked for it.
One thing you might be able to try is to console.log the output to see what it being outputed. You might need to fill in a value somewhere so the value isn't empty = null
Hi, I followed the tutorial to the letter. when I write in the chat the database this creates but it records no experience points. can you help me ? @UnderCtrl
It’s highly recommended you watch the video before this where we go over how to connect to the database.
th-cam.com/video/edeNqzKvj0g/w-d-xo.html
Not working. No errors. Nothing in database when I type.
same bro
same goes here
@@monkeychanhere do you have eventHandler?
Are you all getting DB connected messages in your terminal?@@monkeychanhere
did you find a fix?
Man! This is awesome content, thanks for your help, I was able to build a bot!
Can't wait to complete the rest of the series!!
What awesome videos. I'm currently in the process of creating a Discord Bot and any questions are all answered in your videos. Thanks for that!
Great content. Want to see your music system tutorial soon ♥
Looks very cool, but sadly this didn't work for me. I even put a console.log right under module. Exports in the giveUserXp code which never prints out.
amazing video how arent you famous
i love u bro... big thanks
The "nice" when he reached 69XP 😂😂 12:27
I didn’t even mean to say it. It’s just muscle memory now 🤷♂️
Hey, under ctrl can you maked the bot is can join the voice channel
For making a leaderboard command, is it better to make it and store it in the database?
You'd be better off make that /leaderboard searches for the let's say 10 users with the highest levels, otherwise storing a leaderboard in the database would need to update the said leaderboard every single time someone levels up, instead, it'd just go search once for the highest level users when asked for it.
Hey how do I fix this error that's saying: Type Error: Cannot read properties of null (reading 'level')
One thing you might be able to try is to console.log the output to see what it being outputed. You might need to fill in a value somewhere so the value isn't empty = null
@@XStarReviews No worries I just put ?.value and it takes it as any type of value to save in the database.
Level system with roles
hey, i’m early! 😊
Hi, I followed the tutorial to the letter. when I write in the chat the database this creates but it records no experience points.
can you help me ? @UnderCtrl
Why do we need eventHandler and client.login inside async IIFE?