frc1418 / VictiBot

:envelope: Chatbot for FRC Team 1418's Discord server.
MIT License
2 stars 10 forks source link

Commands now in object #2

Closed aderhall closed 8 years ago

aderhall commented 8 years ago

I put the interface() commands into an object as an index so we won't need to type 'if input ==...' all the time. I used 'try:' to determine if the input is a valid command. If it is, it responds. If not, it does nothing; we don't want the bot constantly interrupting everybody with 'command not found' every time they say something.