Fixed bidding, while not being in raid (Nolonger throws an error)
Added default alias !list for !loot (bebot like) Changed the layout of !notes, its more compact now. fixed !count in the rare case of an empty private channel
This commit is contained in:
@@ -121,15 +121,16 @@ class OnlineController:
|
||||
params = [self.bot.name, self.bot.get_char_id()]
|
||||
if not option:
|
||||
option = "prof"
|
||||
|
||||
output = ""
|
||||
if option == "prof":
|
||||
return self.online_display.count_prof(query, params, filters)
|
||||
output = self.online_display.count_prof(query, params, filters)
|
||||
elif option == "org":
|
||||
return self.online_display.count_org(query, params, filters)
|
||||
output = self.online_display.count_org(query, params, filters)
|
||||
elif option == "tl":
|
||||
if filters:
|
||||
try:
|
||||
filters = int(filters)
|
||||
except ValueError:
|
||||
return f"Invalid Title level: {filters}"
|
||||
return self.online_display.count_tl(query, params, filters)
|
||||
output = self.online_display.count_tl(query, params, filters)
|
||||
return output if output != "" else "Nobody is in my private channel, sorry..."
|
||||
|
||||
Reference in New Issue
Block a user