Skip to content

Commit 07cd270

Browse files
committed
Merge branch 'payday-dispatch' of https://github.com/vertyco/Red-DiscordBot into payday-dispatch
2 parents 637e14e + 89f2b8f commit 07cd270

File tree

4 files changed

+444
-347
lines changed

4 files changed

+444
-347
lines changed

redbot/cogs/audio/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def __ge__(self, other: object) -> bool:
294294

295295

296296
class ServerManager:
297-
JAR_VERSION: Final[str] = LavalinkVersion(3, 7, 11)
297+
JAR_VERSION: Final[str] = LavalinkVersion(3, 7, 11, red=2)
298298
LAVALINK_DOWNLOAD_URL: Final[str] = (
299299
"https://github.com/Cog-Creators/Lavalink-Jars/releases/download/"
300300
f"{JAR_VERSION}/"

redbot/cogs/mutes/models.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from typing import Optional, Dict
2+
3+
import discord
4+
5+
from dataclasses import dataclass
6+
7+
8+
@dataclass
9+
class MuteResponse:
10+
success: bool
11+
reason: Optional[str]
12+
user: discord.Member
13+
14+
15+
@dataclass
16+
class ChannelMuteResponse(MuteResponse):
17+
channel: discord.abc.GuildChannel
18+
old_overs: Optional[Dict[str, bool]]
19+
voice_mute: bool

0 commit comments

Comments
 (0)