π¬ Awesome Chatbot!
Hey there! Looking to make a chatbot? Here is your right place!
These are the steps to make YOUR (own!!!) chatbot using Node JS
π Package Library:
Bots Version:
β Configuration
β Never share your tokens or api keys publicly- Create and Modify
.env
and fill out the values:
TOKEN="discord-bot-token"
PREFIX="your-prefix"
OWNER="discord-user-id"
MONGO_URI="your-mongoose-databases"
NEW_GUILD_JOIN="discord-channel-id-for-joining-guild-notification"
NEW_GUILD_LEAVE="discord-channel-id-for-leave-guild-notification"
BugsChannel="discord-channel-id-for-bugsreport"
FeedbackChannel="discord-channel-id-for-feedback"
π₯ INSTALLATION
𧩠FOR DEPLOY HEROKU USER
> Step 1: First, Deploy This Repository to Heroku.
> Step 2: Then, Fill in all the empty fields that are already available
> Step 3: Then, Click Button "Deploy App", and wait until the build process is complete
Now, it should show your bot is online!!
𧩠FOR REPL.IT USER
> Step 1: First, fork this repository, then clone that repository from repl.it.
> Step 2: Once your repl is ready, check your sidebar and see a lock sign. There, you should put TOKEN="-" as your key, and as value, your bot token.
> Step 3: Add your Discord ID in OWNER="-", add "PREFIX="-", NEW_GUILD_JOIN="-", NEW_GUILD_LEAVE="-", BugsChannel="-", and add "FeedbackChannel="-", MONGO_URI="-"
> Step 4: Add your bot customisations in chatSend.js, when requiring clever-chat
> Step 5: Go to your "SHELL" in your right, and copy/paste run this command `npm i axios@0.21.1 chalk@4.1.1 clever-chat@8.0.0 discord.js@12.5.3 dotenv@10.0.0 express@4.17.1 quick.db@7.1.3`
> Step 6: Go to "index.js" file and click on "RUN" in repl.it.
Now, it should show your bot is online!!
Now, if you see your bot is online, or "streaming" mode as I set it to, run the command {your bot prefix here}setchat #some-channel-name-here
Go to that channel, and say Hi, and have a lovely chat!
You can also chat with the bot in DMs!
π Support
π Voting the bots
π Credit
If consider using this Bot, make sure to credit me!