1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Add easter egg 2 to the Music Bot

This commit is contained in:
Steffo 2019-02-08 01:36:29 +01:00
parent 69ef10a67e
commit 324df71ce4

View file

@ -393,7 +393,8 @@ class RoyalDiscordBot(discord.Client):
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}{b'cvyyne'.decode('rot13')}": self.cmd_easter_egg_1
f"{self.command_prefix}{b'cvyyne'.decode('rot13')}": self.cmd_easter_egg_1,
f"{self.command_prefix}{b'xqn'.decode('rot13')}": self.cmd_easter_egg_2
}
if self.sentry_token:
self.sentry = raven.Client(self.sentry_token,
@ -1206,6 +1207,26 @@ class RoyalDiscordBot(discord.Client):
await channel.send(f"💪💪💪")
logger.debug(f"Added muscles to the queue (EE1).")
# noinspection PyUnusedLocal
@command
@requires_connected_voice_client
async def cmd_easter_egg_2(self, channel: discord.TextChannel, author: discord.Member, params: typing.List[str]):
videos = [
b"uggcf://jjj.lbhghor.pbz/jngpu?i=NLwbqZwP7cN".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=UooSp-Op_RR".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=XwSnd2ehrXf".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=Jna2ERU1k9t".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=gRWp9YkccXf".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=XKr5QomUqKZ".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=tImSG-Dt2cp".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=u6cwSSOWjmH".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=Jss8WNpEduL".decode("rot13"),
b"uggcf://jjj.lbhghor.pbz/jngpu?i=m4tyB08HDj4".decode("rot13")
]
await self.add_video_from_url(random.sample(videos, 1)[0], enqueuer=author)
await channel.send(f"⚔️💀🤝")
logger.debug(f"Added random emojis? to the queue (EE2).")
def process(users_connection=None):
logger.info("Initializing the bot...")