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:
@@ -110,13 +110,9 @@ class AuctionStrategy:
|
||||
raider: Raider = self.raid_controller.is_in_raid(main)
|
||||
if type(raider) == Raider:
|
||||
if not raider.is_active:
|
||||
self.bot.send_mass_message(request.sender.char_id,
|
||||
"You are not participating in the raid, and cannot add to the loot.")
|
||||
return
|
||||
return "You are not participating in the raid, and cannot add to the loot."
|
||||
elif raider is None:
|
||||
self.bot.send_mass_message(request.sender.char_id,
|
||||
"You are not participating in the raid, and cannot add to the loot.")
|
||||
return
|
||||
return "You are not participating in the raid, and cannot add to the loot."
|
||||
if not account:
|
||||
return "You do not have an active account with this bot."
|
||||
elif account.disabled:
|
||||
|
||||
Reference in New Issue
Block a user