Skip to content

phillipakhn/4006CEM-Computer-Science-Activity-Led-Learning-Project-1-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link for discord server

Chatbot

version 1.0

Discord

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.

To test in codio

  1. alias python='/usr/bin/python3.5'
  2. . ~/.bashrc

To run bot in discord:

  1. cd ChatBot/
  2. python bot.py

Program modules

Status list: a) #f03c15 Not started b) #b5ab65 In progress c) #378c32 Done

Status Task file name Developer
#378c32 Done Main code part which connects DISCORD client and modules bot.py Brad
#378c32 Done User input simulator inputTests.py Armandas
#378c32 Done Basic chat(Personal questions) and greetings conversation.py dbQueries.py brain.py Brad
#378c32 Done Reminder function reminder.py Armandas
#378c32 Done Math - number operations mathBot.py Brad
#378c32 Done Weather weather.py Josh
#378c32 Done Dog shibBot.py dogContent Jake
#b5ab65 In progress Basic game-(s) hangBot.py hangman.py Phillip
#b5ab65 In progress Maths Quiz MathsQuiz.py Sam
#b5ab65 In progress Bus timetables at Coventry timetable.py Josh
#b5ab65 In progress Music module bot.py Josh

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:

  1. __init__() - constructor
  2. getAnswer(userInput) - module starting function. It analyzes user input and gives answer

genAnswer() function must return None(if fail) or Answer string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages