Fix !info crash
This commit is contained in:
parent
2a0eb98b71
commit
a48b35e54d
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ class InfoBot(yaboli.Bot):
|
||||||
msg = "Sorry, the --list and --name options can't be used simultaneously."
|
msg = "Sorry, the --list and --name options can't be used simultaneously."
|
||||||
|
|
||||||
elif ("name" in options and options["name"] is not True) or "list" in options:
|
elif ("name" in options and options["name"] is not True) or "list" in options:
|
||||||
|
clients = []
|
||||||
|
|
||||||
if "name" in options:
|
if "name" in options:
|
||||||
name = self.room.mentionable(options["name"]).lower()
|
name = self.room.mentionable(options["name"]).lower()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue