Skip to content

Commit

Permalink
Merge branch 'inactive-player-timeout'
Browse files Browse the repository at this point in the history
  • Loading branch information
itsTheFae committed Dec 8, 2023
2 parents 546d593 + a740100 commit 4ed30c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion musicbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4831,7 +4831,9 @@ async def on_inactivity_timeout_expired(self, voice_channel):
if self.config.embeds:
embed = self._gen_embed()
embed.title = "Leaving voice channel"
embed.description = f"Leaving voice channel {voice_channel.name} due to inactivity."
embed.description = (
f"Leaving voice channel {voice_channel.name} due to inactivity."
)
await self.safe_send_message(channel, embed, expire_in=30)
else:
await self.safe_send_message(
Expand Down

0 comments on commit 4ed30c1

Please sign in to comment.