You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While it's nice to launch the bot on the server and test it there. It would also make sense that there were some way to test the command locally before committing it to the bot, or firing it up to connect to the server. I don't imagine people want to see a bot constantly coming on and off line. Plus for users to just simply write commands, it may not be necessary that they get a bot account and connect the bot. For this I would suggest writing a command line way of testing bot commands.
While it's nice to launch the bot on the server and test it there. It would also make sense that there were some way to test the command locally before committing it to the bot, or firing it up to connect to the server. I don't imagine people want to see a bot constantly coming on and off line. Plus for users to just simply write commands, it may not be necessary that they get a bot account and connect the bot. For this I would suggest writing a command line way of testing bot commands.
My example of this is here:
https://github.com/kokorohakai/ccawmunity/blob/master/chatbot/testcommand.py
it can then be executed like this:
./testcommand.py random 1 10 100
which executes my random command, and it's parameters just as it would from chat.
The text was updated successfully, but these errors were encountered: