Skip to content

MathieuCorti/Louis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Louis

Your average Discord Cleverbot.

Louis can talk to you in multiples languages, respond with gifs, add reactions to your messages ... More alive than the real one !

demo

Louis gif demo

Louis text demo

Setup

You need to fill your credentials inside the config.json file

"cleverbot": {
  "apiUser": "CLEVERBOT_API_USER",
  "apiKey": "CLEVERBOT_API_KEY"
},
"discord": {
  "token": "DISCORD_TOKEN"
}

Just replace CLEVERBOT_API_USER, CLEVERBOT_API_KEY by your Cleverbot.io credentials. And the DISCORD_TOKEN by the discord token of your app. How to get a your token

Once your crendentials are filled, just run node louis.js and enjoy

Customise

You can customise message reactions, with triggers, edit bot general config, add personnal answers ... Just open the rules.json and fill the differents rules.

{
  "isEditable": true,
  "bot": {
    "name": "Louis",
    "speakRate": 10,
    "gifRate": 5
  },
  "giphy": {
    "searchLimit": 50
  },
  "channels": {
    "alwaysSpeak": [
      "talktolouis"
    ],
    "neverSpeak": [
    ]
  },
  "messages": [
    { "content": "chicken", "answer": "I love chicken !", "reaction": "🐔" },
    { "content": "poop", "reaction": "💩" }
  ]
}

Releases

No releases published

Packages

No packages published