We played 5p vilgame and when the final vote was cast for lykos this error happened. We didn't have a jester.
Traceback (most recent call last):
File "/src/decorators.py", line 193, in __call__
return self.func(*args, **kwargs)
File "/src/handler.py", line 127, in on_privmsg
fn.caller(cli, rawnick, ch, message)
File "/src/decorators.py", line 193, in __call__
return self.func(*args, **kwargs)
File "/src/decorators.py", line 339, in caller
self.func(var, dispatcher, rest)
File "/src/votes.py", line 196, in vote
return lynch.caller(wrapper.client, wrapper.source.nick, wrapper.target.name, message)
File "/src/decorators.py", line 193, in __call__
return self.func(*args, **kwargs)
File "/src/decorators.py", line 339, in caller
self.func(var, dispatcher, rest)
File "/src/votes.py", line 61, in lynch
chk_decision(var)
File "/src/votes.py", line 282, in chk_decision
if lynch_evt.dispatch(var, votee, voters):
File "/src/events.py", line 67, in dispatch
listener(self, *args, **kwargs)
File "/src/events.py", line 37, in __call__
self.callback(*args, **kwargs)
File "/src/decorators.py", line 193, in __call__
return self.func(*args, **kwargs)
File "/src/roles/jester.py", line 19, in on_lynch
if votee in get_all_players(("jester",)):
File "/src/functions.py", line 38, in get_all_players
for user in rolemap[role]:
KeyError: 'jester'
We played 5p vilgame and when the final vote was cast for lykos this error happened. We didn't have a jester.
Complete error log: https://ww.chat/5v5u Commit: 5097b7b5b085c5b9492ff4eab29261a67b0bea19
Complete log