Switch to Python #2

Merged
bene merged 4 commits from python into main 2024-05-25 17:04:36 +00:00
2 changed files with 1 additions and 1 deletions
Showing only changes of commit 573783f843 - Show all commits

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
*.env

1
bot.py
View File

@@ -26,7 +26,6 @@ async def on_voice_state_update(member, before, after):
await member.move_to(new_channel)
if before.channel and len(before.channel.members) == 0 and before.channel.id != join_to_create_channel_id:
# Check if the channel was created by the bot by checking its name
if before.channel.name.startswith('🔊'):
await before.channel.delete(reason='No members left in the bot-created channel')