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