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 0debbdc + 2e72c18 commit d7eab98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions musicbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4831,12 +4831,12 @@ 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} in {voice_channel.guild} 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(
channel,
f"Leaving voice channel {voice_channel.name} in {voice_channel.guild} due to inactivity.",
f"Leaving voice channel {voice_channel.name} in due to inactivity.",
expire_in=30,
)
except Exception:
Expand Down

0 comments on commit d7eab98

Please sign in to comment.