diff --git a/VocalMaisBot.py b/VocalMaisBot.py index a9f1947..9abe309 100755 --- a/VocalMaisBot.py +++ b/VocalMaisBot.py @@ -233,6 +233,7 @@ class VocalMaisBot(commands.Cog): return # It's not one of our special watched join-to-create channels # The user is not a bot and connected to one of our special watched channels + logger.debug(f"[{channel.guild.name}({channel.guild.id})] User {user.name}#{user.discriminator}({user.id}) connected to watched channel {channel.name}({channel.id})") # We create a channel for them and move them into it category = channel.category # Creating the permissions of the channel @@ -248,6 +249,7 @@ class VocalMaisBot(commands.Cog): channel_name = discord_utils.voice_channel_safe_name(user_default_channel_name, user_name_replacement = user.display_name) # Creating the channel and moving the user into it + logger.debug(f"[{channel.guild.name}({channel.guild.id})] Creating channel {channel_name} for {user.name}#{user.discriminator}({user.id})") user_channel = await category.create_voice_channel(channel_name, overwrites = channel_permissions) await user.move_to(user_channel) logger.info(f"[{channel.guild.name}({channel.guild.id})] Created channel {user_channel.name}({user_channel.id}) for {user.name}#{user.discriminator}({user.id})")