I Created a WORDLE Discord Bot!
Vložit
- čas přidán 19. 01. 2022
- I created a discord bot that players can control with commands to play Wordle games. Wordle is a game that gives you 6 tries to correctly guess a 5 letter word. It checks the guesses and colors the tiles in relation to their accuracy. If the letter of the guess is identical to the one in the answer, the tile behind the letter will turn green. If it is not identical but is found elsewhere in the answer, the tile will turn yellow. If it is not found in the answer then it’ll stay gray. The logic for this game is entirely contained within this discord bot’s wordle.js file.
Hi I'm TJ a developer who is passionate about learning gamedev I primarily develop games on the unity platform but any code is fair game for game dev. I’m still learning a lot but hope you’ll be able to learn from my progress.
My links -
Come hang out on discord: / discord
Twitter: / tjgamedev
Resources referenced in video -
Download the code: github.com/TJGameDev/DiscordW...
Discord JS documentation: discord.js.org/#/
Discord Developer Portal: / discord
Code Your Own Discord Bot - Basics (2021) by CodeLyon: • Code Your Own Discord ...
Canvas: discordjs.guide/popular-topic...
Music In Order of Play -
Corbyn Kites | Lilac Skies: • Video
Patrick Patrikios | Forget Me Not: • Video
Corbyn Kites | Overdrive: • Video
Corbyn Kites | Slow Burn: • Video
Corbyn Kites | Blurry Vision: • Video
Software Used -
Visual Studio Code: code.visualstudio.com/
Adobe Premiere Pro: www.adobe.com/products/premie...
Adobe Photoshop: www.adobe.com/products/photos...
PC Specs -
NVIDIA GeForce RTX 3080
AMD Ryzen 7 2700x
32GB RAM - Věda a technologie
Solid Editing!
Keep up the good videos
Thanks!
Cool video! Is there a reason you used a CSV to store the data instead of a database (which should be much faster at it)? Especially when you have multiple players playing at the same time, that could mess up the file logic or not?
You are correct, I’m just lazy and haven’t moved it to a db yet. I’m sure a MySQL or Postgres would work well. Thanks
Awesome video. This is a noob question, but how did you get so good at coding. I’ve been using some resources to learn but it’s all really fundamental things compared to stuff like this.
Just try to make something and use google to answer your questions. Break your problems into smaller step such as “how to add bot to discord” “how to know when someone messages in discord” “how to get contents of discord message with bot”, “how to use discord bot to respond to message” etc. I learned a lot more from trying rather than reading books.
I just copy the whole thing and put it in my Visual Studio right?
Wow this video just popped up on my timeline. I assume its because of the video I just released yesterday. We must have started this around the same time cus the clips we use are the same lol
Haha that’s crazy. I watched your video and I really like your editing style. Great job
Does this only show for you? Unless you want to share the results?
Great video. Is there a reason that you didn't create a bot to allow people to directly add to their server? It will be massively helpful!
Kinda, as I need to run the bot on my pc right now, so whenever I power my pc off the bot goes down. If I were to move it to an AWS server and have it running 24/7, then I’d allow other people to use it. I’ll update if I do that in the future. Thanks for the suggestion
im getting an error that it cant read the property 'FLAGS' and i dont see you explain that at all. any help?
Idk man, sorry I didn’t get that error
for me its not working any help?
Nah you need to build a bot first. There’s a video in the description of how to do that
@@TJGameDev I did that, the bot is turned on but it doesnt work