This commit is contained in:
@@ -61,7 +61,7 @@ VOLUME ["/configs"]
|
||||
WORKDIR /app
|
||||
|
||||
# Copy opus first to break up the build time
|
||||
COPY ./app/opus /app/opus
|
||||
COPY ./app/internal/opus /app/internal/opus
|
||||
|
||||
# Copy the rest of the directory contents into the container at /app
|
||||
COPY ./app /app
|
||||
|
||||
@@ -44,7 +44,7 @@ class DiscordBotManager:
|
||||
guild_id = before.channel.guild.id
|
||||
LOGGER.info(f"Bot was disconnected from channel in guild {guild_id}. Attempting to reconnect...")
|
||||
try:
|
||||
await leave_voice_channel(guild_id)
|
||||
await self.leave_voice_channel(guild_id)
|
||||
except Exception as e:
|
||||
LOGGER.warning(f"Error leaving voice channel: '{e}'")
|
||||
# Attempt to reconnect to the channel after a brief pause
|
||||
|
||||
Reference in New Issue
Block a user