/Sophia-bot

Discord & IRC chatbot. Behaves like a 5 year old child, very talkative and responds to random stuff. Can define fetch links from Google, Wikipedia and YouTube, define words, provide synonyms and antonyms, and users can add stuff for her to respond to.

Primary LanguagePython

Sophia-bot

A chat-bot created by Vivacia/Varnika on April 5, 2018 based on an old and dusty bot created by cuisinart8 a few years ago. Her older and obsolete version had bits and pieces of code from fully functional bots like Taiya/TaiyaIRC by Talvieno, Saoirse/Dinobot by Dinosawer and Jimmy by cha0zz. Special thanks to lycurgus for helping me debug her a lot. :D

Runs primarily in Discord and IRC. She behaves like a five year old girl and can look up Wikipedia articles, link youtube videos and define words, toss out their antonyms and synonyms when asked to do so. Google function is currently broken.

Her code is supposed to mold around the users and hence there is not a fixed command to make her do things: she understands users’ requests and acts accordingly.

Future plans/WIP:

  1. Fix the Google function.
  2. A function that links images when asked to.
  3. Emotions, or rather, an emotion counter, inspired by Taiya. She will keep track of people using her and based on their behaviour towards her, she will respond. After a certain amount of negativity, she shushes. I’m not sure if this is a good idea but it would be fun to experiment with.
  4. Ability to recognise users when talked to; easier to implement than emotions.
  5. Battleship game.
  6. Math functions? Not sure if this is needed.

Commands:

Usually, Sophia or Soph is her trigger word. It brings her attention to most commands though some work without it. Simply saying Sophia or Soph without a command programmed in her does nothing. For the list of commands and stuff she responds to: https://docs.google.com/document/d/1c05w75VGXqFHsvzzU7Uu1Qc1Brpl_pwN2Z1G5C0wehE/edit?usp=sharing