I am building an IRC bot in python. This is more a project for me to learn python.
What I wanted to do is for now when I say 'bot: hello' it would respond (thats the simple command I planned). Of course I want to add more commands so I don't want to have everything in one file but rather make plugin files with addtional code. On top of that for the hello example there might be other triggers like 'hi' or 'yo' which would give the same response...
So my question is do you know what would be the best way to check triggers and then get them to a function/plugin file to execute the code.