Skip to content

Files

Latest commit

 

History

History
69 lines (53 loc) · 2.36 KB

README.md

File metadata and controls

69 lines (53 loc) · 2.36 KB

AI.Billy

AI.Billy is part of the RoboBilly project.


Discord Release Heroku License

Building & runningCommandsLicenseconfigFAQ

Building & running

The bot will work with Python 3.8+, make sure to install required packages using the following command

pip install -r requirements.txt

you can run the bot using the following command or just using the run.bat

python main.py

Configuration

  1. config.json is where all of the bot configuration will be placed. The only fields that are essential for running the bot are token, prefix and owner_id.
{
    "token": "get it from discord developer portal.",
    "prefix": "!",
    "channel": "chat-bot",
    "startup_file": "std-startup.xml",
    "owner_id": "bot owner's id"
}
  1. make a channel with the name you gave in config.json (by default it is chat-bot)

  2. Now you can chat in that channel.

Commands

Command (aliases) Description
respond(ai) For talking to AI through a command method.
help basic help command, lists all features.

FAQ

  1. I want to add custom responses, how to do it?
  • you will have to use the template in ./template or make a new aiml file with responses.
  • then copy the aiml file to ./aiml directory. The bot reads any of the file from ./aiml directory, so you can place it anywhere inside there.
  1. New added custom reponses/modified responses are not working, why?
  • If you have modified any of the aiml scripts or added new, you will have to delete the generated brn file(which can be found in the main directory), and run again.