Link for discord server
version 1.0
This bot has been created to serve as a tool that can be used for useful features on the discord platform as part of an assignment.
- alias python='/usr/bin/python3.5'
- . ~/.bashrc
To run bot in discord:
- cd ChatBot/
- python bot.py
Status list: a) Not started b) In progress c) Done
If a module cannot answer the question, as default, answer eg. "Sorry ..."
Every module is a class which is made to answer questions about 1 topic.
Every module(class) must implement 3 functions:
- __init__() - constructor
- getAnswer(userInput) - module starting function. It analyzes user input and gives answer
genAnswer() function must return None(if fail) or Answer string