mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 01:42:30 -05:00
Add use_spoilers property to TRIVIA_LIST_SCHEMA schema (#5566)
* Add `use_spoilers` to schema * Update session.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -61,6 +61,7 @@ class TriviaSession:
|
||||
- ``bot_plays`` (`bool`)
|
||||
- ``allow_override`` (`bool`)
|
||||
- ``payout_multiplier`` (`float`)
|
||||
- ``use_spoilers`` (`bool`)
|
||||
scores : `collections.Counter`
|
||||
A counter with the players as keys, and their scores as values. The
|
||||
players are of type `discord.Member`.
|
||||
|
||||
Reference in New Issue
Block a user