Skip to content

Commit 538f90a

Browse files
Fixes TypeError in bot.py (#240)
Currently using this will TypeError as the parameter (`self._modules`) is initialised as a list, not a dict as needed.
1 parent a08c3a2 commit 538f90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitchio/ext/commands/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def from_client_credentials(
127127
) # The only reason we're even creating this is to avoid attribute errors
128128
self._events = {}
129129
self._waiting = []
130-
self._modules = []
130+
self._modules = {}
131131
self._prefix = prefix
132132
self._cogs = {}
133133
self._commands = {}

0 commit comments

Comments
 (0)