fix: stop invoking bot twice #1
Loading…
Reference in a new issue
No description provided.
Delete branch "run-twice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In assignment 02, I previously had a poor implementation in the
constructor.We were calling
#runtwice:However, it was intended to be called externally only. So the bot class is constructed, commands can be registered, then the bot can actually be started.
This resolves both issues:
#startfunction.runtostartas I thought it was clearer.mentioned in commit
a6a07840c2