Loving the content as its really helping me with a bot I'm making, one thing I'm struggling with is making a give and remove command that adds or removes an amount of balance chosen by a moderator, could you make a video on it ?
@evenMoreCode2 күн бұрын
Thanks for watching! I can work on an updated video for this but in the meantime you can follow my older tutorial: kzbin.info/www/bejne/ZoS5c36thpt4aMUsi=Yp4Hyx1Fe-BDCHeR
@ruvy24584 күн бұрын
Nice video, will you do a tut about like doing an inventory thing and like add items to the shop for people to buy?
@evenMoreCode3 күн бұрын
Yeah sure! I can work on that!
@Hypersnake_Games5 күн бұрын
Hey, how do you get back tics at 14:39 because I don’t know if it’s necessary or not for it to be back tics so please help me
@evenMoreCode5 күн бұрын
Hey! Yes back tics are required for adding variables inside a string. On your keyboard the backtick button should be directly below the ESC key in the top left corner. On the same key as the ~. Here is a backtick: `
@GrowTreeStudio5 күн бұрын
Hmm
@evenMoreCode5 күн бұрын
Hmmmmmm
@GrowTreeStudio5 күн бұрын
@evenMoreCode Hey sir can you tell me how to fix a Mongoose issue where it cannot connect to the database, with a timeout error of 10000ms and a whitelist issue, even though I have registered the IP 0.0.0.0/0?
@evenMoreCode3 күн бұрын
Hmm you need to register the ip that you are connecting on. So if it’s your home ip then that’s the ip you need to whitelist
@Turtluo5 күн бұрын
0 view, 0 coment, 0 like.
@PIXCEL_XXX7 күн бұрын
Love ur video♥♥
@GrowTreeStudio8 күн бұрын
Hmm make bot wiht RoboJs and connect to database
@DOACT-h1h12 күн бұрын
This is the error is get when i try getting the bot online TypeError [ERR_INVALID_ARG_TYPE]: The "emitter" argument must be an instance of EventEmitter. Received type string ('ready') at eventTargetAgnosticAddListener (node:events:1041:11) at node:events:996:5 at new Promise (<anonymous>) at Client.once (node:events:976:10) at Object.<anonymous> (C:\Users\ctqze\OneDrive\Desktop\Solaris\index.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1565:14) at Object..js (node:internal/modules/cjs/loader:1708:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) { code: 'ERR_INVALID_ARG_TYPE' }
@Timeless_Eve14 күн бұрын
Gladly waiting for the next video ❤
@evenMoreCode13 күн бұрын
Coming out tomorrow! Thanks for watching!!!
@asphyxia558518 күн бұрын
This there away to make it automatically take the GUILD_ID when the bot join a new server instead of changing .env?
@evenMoreCode18 күн бұрын
Yeah check my video on my channel about making your bot multi server: kzbin.info/www/bejne/a4TNqWBri8iFj8ksi=AQkhOm2AiB_iHEjY
@hridhaanmahadik926821 күн бұрын
So there is a problem. It is saying for me that newUrlPaser or useUnifiedTapology is not supported and is outdated. Any way to resolve this?
@evenMoreCode20 күн бұрын
I believe those are just warnings but the code should still work. They shouldn’t be errors
@hridhaanmahadik926818 күн бұрын
@ I could send a screenshot
@evenMoreCode3 күн бұрын
Yeah send on discord
@hridhaanmahadik926821 күн бұрын
Hello! Once I run the command it is showing me with error 10002. Of course I checked through my Variables in .env and they were all correct. Any advice? Btw the problems are coming from deploy-commands.js.
@evenMoreCode21 күн бұрын
Hmm that’s interesting. Does this happen when you are running the deploy command or when you run the bit in general it complains about that file? Join the discord so you can share screenshots so we better help you!
@hridhaanmahadik926820 күн бұрын
I solved it
@evenMoreCode20 күн бұрын
Great job! Glad to hear that
@ldrbleeds25 күн бұрын
ReferenceError: collection is not defined at Object.<anonymous> (C:\Users\Steve\OneDrive\Desktop\Python\index.js:8:23) at Module._compile (node:internal/modules/cjs/loader:1565:14) at Object..js (node:internal/modules/cjs/loader:1708:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:219:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5) at node:internal/main/run_main_module:36:49
@evenMoreCode24 күн бұрын
Hey buddy! Join our discord and we can help you out there. This looks like it could be a capitalization or typo issue.
@lucidrzr25 күн бұрын
I get the error "profileData is not defined" Help
@evenMoreCode24 күн бұрын
This could be a number of things. Could be that your db is not be accessed correctly. Join the discord if you need additional help!
@ruvy245826 күн бұрын
Yo bro cool video! Will you continue the economy bot series?
@evenMoreCode25 күн бұрын
Thank you! Yes Economy bot videos are coming
@armaankhan-f2f27 күн бұрын
SyntaxError: Unexpected identifier 'GatewayIntentBits' how to solve this? plz tell
@evenMoreCode24 күн бұрын
This could either be a typo, or you may need to update your intents in discord developer portal. Join the discord so we can help you further!
@HYPE-SKYАй бұрын
Try to make economy bot tutorial please
@evenMoreCodeАй бұрын
Yes it’s coming 🙌
@evenMoreCodeАй бұрын
If you do not have git installed on your computer, you can easily install on any device follow the instructions from this link: git-scm.com/book/en/v2/Getting-Started-Installing-Git
@IgnVoxy122Ай бұрын
ReferenceError: Cannot access 'Client' before initialization keeps saying this what do i do
@evenMoreCodeАй бұрын
Most likely an issue with using “client” vs “Client”. Recheck the code and make sure your casing is correct and see where you define “const client”
@sadinminecraftАй бұрын
I made it to the end and everything seemed to work until i tried the command and all i got was The application did not respond
@evenMoreCodeАй бұрын
Is the bot online? And did you deploy your commands?
@sadinminecraftАй бұрын
@evenMoreCode yes the bot is online and I deployed my commands
@evenMoreCodeАй бұрын
@@sadinminecraft Are there any errors in your terminal after you run a command?
@sadinminecraftАй бұрын
@@evenMoreCode no
@evenMoreCodeАй бұрын
@@sadinminecraft okay join the discord for more help
@kouvostoliitto99Ай бұрын
TypeError: Cannot read properties of null (reading 'delete') at Object.execute (/Users/toivojaviljo/Documents/DcBot/commands/shop.js:151:24)
@kouvostoliitto99Ай бұрын
Role colour doesn't work. Even tried to use what is in the top comment. It doesn't give any errors but the role just shows as white/grey.
@animegod_9974Ай бұрын
So what if I accidentally closed vs code and it signed me out? Now it’s saying a collection is not defined and I can’t sign in😭
@evenMoreCode24 күн бұрын
Ahhh nooo. Signing out shouldn’t do anything too bad. Let me know if your still needing help
@animegod_997424 күн бұрын
@ yes I still do, I haven’t managed to find the problem and it still isn’t working
@evenMoreCode24 күн бұрын
Okay join the discord and we can help you there!
@kouvostoliitto99Ай бұрын
How do I make it that each server the bot is in, the money resets? Now I have the same amount of money in multiple servers, and if I add money in one of the servers, it adds to my balance also in the other server.
@evenMoreCode24 күн бұрын
In my new economy bot series I’ll go over this. But basically you’ll need to match the user profiles to their serverID AND their userID. Right now when you fetch their profile data your only matching on userID so it’s not taking into account which server the command is in
@animegod_9974Ай бұрын
VS Code isn’t allowing me to name a new folder utility, what should I do?
@animegod_9974Ай бұрын
Nvm, my vs code is a little different than yours so it didn’t look the same but it’s working
@evenMoreCodeАй бұрын
Yay!
@kouvostoliitto99Ай бұрын
It says You redeemed NaN coins! And when I try it again, it still lets me do it instead of saying that I can't until in 24 hours.
@kouvostoliitto99Ай бұрын
How do I make a command that sends an image with nothing else? And how do I add the bot to multiple servers?
@evenMoreCodeАй бұрын
I have a recent video on this
@kouvostoliitto99Ай бұрын
@@evenMoreCode Oh, I couldn't find one that just sends an image without having anything else like the grey discord embed, just an image with nothing else. But thank you very much, I found the one for multiple servers.
@MicroX-xАй бұрын
Tysm bro keep up the great work
@yasserx5444Ай бұрын
Hi I have an api already but idk how to add it to discord and I follow ur videos and it sounds like you make one from scratch, I'm sorry but I'm not familiar with cording How can I use the api to make a bot for my discord? Btw the bot have been used in Reddit so I had to contact the owner and he gave me the api
@evenMoreCodeАй бұрын
Hello! In this video I show how to use 3 different apis that I found on the internet. I didn’t make any of the apis and I show how to integrate with any api of your choosing! Let me know if you need help (also can join the discord for additional help)
@yasserx5444Ай бұрын
@ again thanks for ur videos it really makes me feel I wanna learn coding My problem is I already have an api key from the Reddit bot but Idk how to add it I tried all of ur ways and still get an error
@evenMoreCode28 күн бұрын
You would want to add the let to your config or .env file then pass it in into your api call
@KingSpectrum1Ай бұрын
hi i thought it would be a great idea if u show us how to make it where the owner of the bot could shut the bot down using /commands in discord it would be cool and other management stuff with it
@KingSpectrum1Ай бұрын
Should do a welcome screen for the bot
@leslie_the_grookyАй бұрын
i keep get a erorr for line 28 (async () => { ^
@devonntyson4352 ай бұрын
Part 1 should be linked in your description
@HYPE-SKY2 ай бұрын
i got error when executing the node . I followed all step except on one the dependency thing because i creating the code on mobile on github codespace
@evenMoreCode2 ай бұрын
What's the error your getting?
@luckyboy.brawlstars2 ай бұрын
but with commands like leaderboard and the shop commands are broken because they require guild infomation
@evenMoreCode2 ай бұрын
Yes so when you get the profileData you will use the guild id on the interaction rather than the one saved in your config
@luckyboy.brawlstars2 ай бұрын
underrated channel
@luckyboy.brawlstars2 ай бұрын
THANK YOU FORLISTENING TO ME
@luckyboy.brawlstars2 ай бұрын
how can things go so smooth like automatic ; can you please explain the keybinds you do use
@evenMoreCode2 ай бұрын
This would be by using a settings in VS code called "Format on Save" - I think I will make a short video on this since many people have asked in the past
@luckyboy.brawlstars2 ай бұрын
i used the newer version tutorial to make the bot but this is completly different and i dont have the .env file in the newer version
@evenMoreCode2 ай бұрын
You can replace any uses of the env with the config.json
@ruvy24582 ай бұрын
Hey What About an inventory for the discord economy bot? Like items you can either buy from the shop or like a hunt command that adds the animals you hunt to the inventory and then you sell them Keep up the great work!
@evenMoreCode2 ай бұрын
Yup great suggestion! Thanks for watching!
@ruvy24582 ай бұрын
@@evenMoreCode I'm a big fan love you bro thanks I don't know anything about JS but by watching you and copying what you do I'm starting to understand
@tjr.krazyy2 ай бұрын
hello , it says started refreshing 0 applications (/) commands Successfully reloaded 0 application (/) commands . What should i do sir
@evenMoreCode2 ай бұрын
It looks like your deploy commands is working but your file structure may not be setup correctly. Ensure that your command files are in the right folder with the right “.js” extensions. If you need further help, join the discord and we can help you out there!
@sebas91113 ай бұрын
client.commands = new Collection(); ^ ReferenceError: Collection is not defined, i get this error when i try to reload the bot at the very end
@evenMoreCode3 ай бұрын
Hmm are you importing “Collection” from “discord.js” on line 3?
@sebas91113 ай бұрын
i think i fixed all my errors but now its giving const commandFiles = fs.readdirSync(commandsPath).filter(file.endswith('.js')); ^ ReferenceError: file is not defined
@evenMoreCode3 ай бұрын
The line filtering out all the non javasxript files should be interating through the files, so this line should be modified to be like this: fs.readdirSync(commandsPath).filter(file => file.endswith(‘.js’)); Notice the difference inside the .filter
@sebas91113 ай бұрын
@@evenMoreCode lifesaver i’ll fix it when i get home and see if i get any other errors
@sebas91113 ай бұрын
@@evenMoreCode i fixed all the errors in the code but now when i /greet in my server it says "The application did not respond"
@wodniara3193 ай бұрын
heeelp. undefined Error [TokenInvalid]: An invalid token was provided. at Client.login (/home/runner/Deadpool/index.js/node_modules/discord.js/src/client/Client.js:216:52) at Object.<anonymous> (/home/runner/Deadpool/index.js/index.js:39:8) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'TokenInvalid' }
@evenMoreCode3 ай бұрын
Hey! Did you set your token in your .env file?
@Uki_GB3 ай бұрын
Hey! I have just made my discord bot but my commands dont show on the server. Any ideas on why?
@evenMoreCode3 ай бұрын
Hey! Did you deploy your commands? 28:33 is where we deploy the commands in the video
@Uki_GB3 ай бұрын
@@evenMoreCode now having issues with keeping bot up, ping keeps going down
@evenMoreCode3 ай бұрын
@@Uki_GB What do you mean ping keeps going down? Like you lose internet?
@ay3ro3 ай бұрын
He’s backkk😭🙏
@Phage-3 ай бұрын
The legend is back!
@evenMoreCode3 ай бұрын
I’m finally back after disappearing for a while! I’m looking forward to making more high quality videos, please comment any suggestions for content that you want to see from me!
@lostoroton3 ай бұрын
Your back!!!
@JakobsMusicCorner3 ай бұрын
Welcome back! Are you going to be posting more often again?
@evenMoreCode3 ай бұрын
Yes sir! Let me know if you have any requests for future topics I should cover
@cool_HABIBI3 ай бұрын
no way bro is back
@Jaoryx4 ай бұрын
Here one year later and I can tell you, this idea is fun!! I only needed around 80 lines of code by using arrays to do everything at once, but I love this concept! Thanks!