Hey there! Looking to make a chatbot? Here is your right place!
These are the steps to make YOUR (own!!!) chatbot using Node JS
- ⚠ 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"
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"
> 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!!
> 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="-"
> 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 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]`
> 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!
If consider using this Bot, make sure to credit me!