mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
Update playmode.py
This commit is contained in:
parent
6c8a93a33e
commit
6f48b4fd2b
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class PlaymodeNH(NetworkHandler):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def discord(cls, bot: "DiscordBot", message: PlaymodeMessage):
|
async def discord(cls, bot: "DiscordBot", message: PlaymodeMessage):
|
||||||
"""Handle a play Royalnet request. That is, add audio to a PlayMode."""
|
"""Handle a playmode Royalnet request. That is, change current PlayMode."""
|
||||||
# Find the matching guild
|
# Find the matching guild
|
||||||
if message.guild_name:
|
if message.guild_name:
|
||||||
guild = bot.client.find_guild(message.guild_name)
|
guild = bot.client.find_guild(message.guild_name)
|
||||||
|
|
Loading…
Reference in a new issue