Closed zachomedia closed 7 years ago
The build broke with a race condition, can you please run the tests with -race
flag and fix it? Thanks.
Why the startPeriodicCommands()
needs to be async? It just registers the commands on cron, right? I guess that it very fast and will not hang the bot's initializaton.
@fabioxgn Sorry about that, still new to go. I changed startPeriodicCommands
to not be async anymore.
@zachomedia thanks, please send a new PR when you are done.
I also noticed that some plugins are broken and were breaking the build, so I removed then from the build process, will try to fix the build process in the PRs which are broken.
PR #51 submitted with the fix
Adds the ability to have multiple periodic commands registered.