mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-23 11:13:51 -05:00
[Audio] ctx.message.guild -> ctx.guild + store ids rather than whole guild in skip_votes (#4867)
* ctx.invoke -> bot.invoke ctx.message.guild -> ctx.guild * remove the invoke stuff * remove invoke stuff * use id attrib instead of entire guild * change type hinting too * change second typehint
This commit is contained in:
@@ -41,7 +41,7 @@ class MixinMeta(ABC):
|
||||
db_conn: Optional[APSWConnectionWrapper]
|
||||
session: aiohttp.ClientSession
|
||||
|
||||
skip_votes: MutableMapping[discord.Guild, List[discord.Member]]
|
||||
skip_votes: MutableMapping[int, List[int]]
|
||||
play_lock: MutableMapping[int, bool]
|
||||
_daily_playlist_cache: MutableMapping[int, bool]
|
||||
_daily_global_playlist_cache: MutableMapping[int, bool]
|
||||
|
||||
Reference in New Issue
Block a user