Fixed temporary bans, and added an option to exclude discord from banning.
changed the color of "Time is UP!" in the roll results, as requested.
This commit is contained in:
@@ -110,7 +110,7 @@ class BanController(BaseModule):
|
||||
f"SELECT b.*, COALESCE(p1.name, b.char_id) AS name, p2.name AS sender_name FROM ban_list b "
|
||||
f"LEFT JOIN player p1 ON b.char_id = p1.char_id "
|
||||
f"LEFT JOIN player p2 ON b.sender_char_id = p2.char_id "
|
||||
f"WHERE ended_early < 1 AND (finished_at < ?) "
|
||||
f"WHERE ended_early < 1 AND (finished_at < ? AND finished_at > 0) "
|
||||
f"ORDER BY b.created_at DESC", [time.time()])
|
||||
|
||||
for active in d:
|
||||
|
||||
Reference in New Issue
Block a user