mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Add easter egg to the Music Bot
This commit is contained in:
parent
1ccc05244d
commit
cff400982d
1 changed files with 10 additions and 1 deletions
|
@ -392,7 +392,8 @@ class RoyalDiscordBot(discord.Client):
|
|||
f"{self.command_prefix}loop": self.cmd_mode,
|
||||
f"{self.command_prefix}l": self.cmd_mode,
|
||||
f"{self.command_prefix}mode": self.cmd_mode,
|
||||
f"{self.command_prefix}m": self.cmd_mode
|
||||
f"{self.command_prefix}m": self.cmd_mode,
|
||||
f"{self.command_prefix}{b'cvyyne'.decode('rot13')}": self.cmd_easter_egg_1
|
||||
}
|
||||
if self.sentry_token:
|
||||
self.sentry = raven.Client(self.sentry_token,
|
||||
|
@ -1197,6 +1198,14 @@ class RoyalDiscordBot(discord.Client):
|
|||
await channel.send("⚠️ Sintassi del comando non valida.\n"
|
||||
"Sintassi: `!loop <off|loop1|loopall|suggest|shuffle|loopshuffle>`")
|
||||
|
||||
# noinspection PyUnusedLocal
|
||||
@command
|
||||
@requires_connected_voice_client
|
||||
async def cmd_easter_egg_1(self, channel: discord.TextChannel, author: discord.Member, params: typing.List[str]):
|
||||
await self.add_video_from_url(b"uggcf://jjj.lbhghor.pbz/jngpu?i=KHuIPbGfOnZ".decode("rot13"), enqueuer=author)
|
||||
await channel.send(f"💪💪💪")
|
||||
logger.debug(f"Added muscles to the queue (EE1).")
|
||||
|
||||
|
||||
def process(users_connection=None):
|
||||
logger.info("Initializing the bot...")
|
||||
|
|
Loading…
Reference in a new issue