Skip to content

Commit

Permalink
Initiate commands objects associated with the main bot class.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Jun 21, 2019
1 parent c6fa986 commit 814fd31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions twitchio/ext/commands/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def __init__(self, irc_token: str, *, nick: str, prefix: Union[str, list, tuple]

self._checks = []

self.__init__commands__()

def __init__commands__(self):
commands = inspect.getmembers(self)

Expand Down

0 comments on commit 814fd31

Please sign in to comment.