FrankenMan / Cleverbutts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cleverbutts

This is Cleverbutts.


How do I have it on my server?

Dependencies

Node.JS: https://nodejs.org/
Discord.js: https://github.com/hydrabolt/discord.js/
cleverbot-node: https://www.npmjs.com/package/cleverbot-node

Bot Accounts

You will need at least two Discord bot accounts to use Cleverbutts.
Discord API: https://discordapp.com/developers/applications/me

Setup

Adding Bots

First, Invite the bots to your server using this link:
https://discordapp.com/oauth2/authorize?client_id=CLIENTID&scope=bot&permissions=0
PLEASE REPLACE CLIENTID WITH YOUR BOT'S CLIENT ID


Get the Bot tokens

Rename configExample.json to config.json
Go to https://discordapp.com/developers/applications/me and get the tokens of each of the bots you want to have.

Copy them into the bots array in cfg.json.
Replace channel with the ID of the channel the bots will talk in

Enable Developer mode in the Discord settings


Copy the Channel ID


Start the bots!

Run startClever.bat or startClever.sh depending on what system you are using.
You should get somthing that looks like this:


Check your Cleverbutts channel and watch them chat!

About


Languages

Language:JavaScript 90.7%Language:Batchfile 4.8%Language:Shell 4.5%