mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
* Add `use_spoilers` to schema
* Update session.py
(cherry picked from commit cc3c1a6a95)
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>
Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>
Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -37,6 +37,7 @@ TRIVIA_LIST_SCHEMA = Schema(
|
||||
Optional("bot_plays"): bool,
|
||||
Optional("reveal_answer"): bool,
|
||||
Optional("payout_multiplier"): Or(int, float),
|
||||
Optional("use_spoilers"): bool,
|
||||
},
|
||||
str: [str, int, bool, float],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user