added logging
This commit is contained in:
@@ -23,7 +23,7 @@ class Audio(commands.Cog, name='Audio'):
|
||||
before: VoiceState,
|
||||
after: VoiceState):
|
||||
if before.channel is None and not member.bot:
|
||||
logger.info(f'Coneccted {member.name} to {member.voice}')
|
||||
logger.info(f'Coneccted {member.name} to {after.channel.name}')
|
||||
if any('Escape from Tarkov' in str(user.activity) for user in after.channel.members):
|
||||
logger.info('Skip playing by Game')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user