Abdur-rahmaanJ / honeybot

🛩 A python IRC bot with simple plugins dev. Ignited in mauritius, first-timers friendly! Moved to github.com/pyhoneybot/honeybot
MIT License
61 stars 49 forks source link

add uptime plugin #131

Closed ispite closed 5 years ago

ispite commented 5 years ago

Hello, I add uptime plugin, but I didn't get how I can test it?

AngeloGiacco commented 5 years ago

@ispite

PRs like this one are for adding code. If you want to ask a question put it in an existing or new issue, or ideally just message us on discord.

To test your plugin, you can either use test_plugin_script.py to see how the plugin handles a single command. You can choose which message you want to be sent to your plugin.

However, for this case, I presume that the best way to test it is just to run the bot by executing main.py, and connect to the IRC server and see what happens. To run your plugin, make sure you add it to the plugins config file. If you are having difficulties connecting to the IRC server or running your plugin let me know. I had both of those issues just two weeks ago and now I feel confident with honeybot so don't worry.