DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,673 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for DiscoGEN - Discord BOT Maker in 3mins
GNVageesh
GNVageesh

Posted on • Updated on

DiscoGEN - Discord BOT Maker in 3mins

DiscoGEN is a CLI utility by which you can create Discord BOTs programmed in Discord.js

How to Get-Started

  • npm install -g discogen or yarn global add discogen
  • Run discogen
  • You will get a prompt like this First Prompt
  • Enter the BOT name
  • Give the BOT's prefix Second Prompt
  • Next paste the BOT token Third Prompt
  • Select the package Manager you want to use[npm or yarn] Fourth Prompt
  • Press ENTER and your done

Time to test the BOT

  • cd <bot-name>
  • You should have a folder structure like this ls
  • Run node index.js run

That's it your BOT is ready work. By default discogen adds the ping command. You can modify it to your needs

Let's Test the BOT now

It's online
online
Let's run the ping command with the prefix, in my case ?
runs

That's it, the BOT is online and running in just 3 mins

Future features include addition of a feature by which users can choose between the commands they want there BOT to have

GitHub Repository: https://github.com/Discogen/discogen
NPM: https://www.npmjs.com/package/discogen
YARN: https://yarnpkg.com/package/discogen

Latest comments (2)

Collapse
 
anshrk profile image
Anshrk • Edited on

Cool project

Collapse
 
gnvageesh profile image
GNVageesh Author

Thanks a lot

Classic DEV Post from 2020:

js visualized

πŸš€βš™οΈ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! πŸ₯³

Happy coding!