print member_msg to debug channel
This commit is contained in:
parent
cf4585e647
commit
fc3b530ff5
1 changed files with 5 additions and 2 deletions
5
main.py
5
main.py
|
@ -107,6 +107,9 @@ async def on_voice_state_update(member, before, after):
|
|||
prev_chan = str(before.channel.id)
|
||||
if prev_chan == str(voice_channel_id):
|
||||
member_msg = str(member.nick) + ' is in the void :eight_pointed_black_star:'
|
||||
print('[INFO] ' + member_msg)
|
||||
await debug_channel.send(member_msg)
|
||||
|
||||
if after.channel is None:
|
||||
next_chan = "not_found"
|
||||
else:
|
||||
|
@ -114,7 +117,7 @@ async def on_voice_state_update(member, before, after):
|
|||
if next_chan == str(voice_channel_id):
|
||||
member_msg = str(member.nick) + ' enjoys! :star:'
|
||||
print('[INFO] ' + member_msg)
|
||||
#await debug_channel.send(member_msd)
|
||||
await debug_channel.send(member_msg)
|
||||
|
||||
if member_ids > 0 and isConnected == False:
|
||||
isConnected = True
|
||||
|
|
Loading…
Reference in a new issue