Hi everyone! We just released a an Official Glitch Discord Bot starter. It has an interactive install guide that will teach you what you need to know to get started with your first (or 100th) Discord Bot on Glitch:
It comes with a video that will help you get started!
Please check it out and we’d love your feedback. We’ve also created some remixes of it that provide demos of what you can do with it. We’re happy to create more if you have an example you’d like us to show you how to make:
yeah, discord gives mentions in wrong order, but that’s not my concern.
.array()[0]
just call first() on collection instead of calling the array method and accessing it’s first element.
imo looks nicer and probably is more performant(?).
but uh- if you want to get the correct mention you probably should just parse the message using provided regex in message.mention property
Yep, it has both Discord.js and Botkit (since the Botkit Discord depends on Discord.js). It’s possible I will refactor in the future as Botkit has a new version out that may not be as compatible with Discord.
There are a lot of things I like in Botkit like:
Storage connectors- makes it easier to swap out databases
Syntax - I like how readable the code is
Documentation- I think the documentation is easier to understand than the Discord.js is, but that’s just a personal opinion