1
Fork 0
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:
Steffo 2019-04-20 18:44:02 +02:00 committed by GitHub
parent 6c8a93a33e
commit 6f48b4fd2b

View file

@ -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)