mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
despope
This commit is contained in:
parent
a7700a42f2
commit
69176f60c5
1 changed files with 11 additions and 11 deletions
|
@ -712,7 +712,7 @@ class RoyalDiscordBot(discord.Client):
|
||||||
logger.info(f"Radio message added to the queue.")
|
logger.info(f"Radio message added to the queue.")
|
||||||
# HALLOWEEN
|
# HALLOWEEN
|
||||||
if not random.randrange(4):
|
if not random.randrange(4):
|
||||||
await self.video_queue.insert(0, SecretVideo(file="despair.ogg", enqueuer=None))
|
self.video_queue.insert(0, SecretVideo(file="despair.ogg", enqueuer=None))
|
||||||
target = random.sample([m for m in self.main_guild.members if len(m.roles) > 1], 1)[0]
|
target = random.sample([m for m in self.main_guild.members if len(m.roles) > 1], 1)[0]
|
||||||
logger.debug(f"Despair roll successful, sending to {target.name}.")
|
logger.debug(f"Despair roll successful, sending to {target.name}.")
|
||||||
if target.dm_channel is None:
|
if target.dm_channel is None:
|
||||||
|
|
Loading…
Reference in a new issue