send welcome message on join

This commit is contained in:
deflax 2022-03-28 11:40:05 -04:00
parent 8e1e5c1aa5
commit 3168c77ba7

View file

@ -102,7 +102,11 @@ async def on_voice_state_update(member, before, after):
member_ids = len(voice_channel.voice_states.keys())
#await debug_channel.send('] voice #' + voice_channel_id + ' member count: ' + str(member_ids))
try:
if str(after.channel.id) == str(voice_channel_id):
await debug_channel.send(str(member.nick) + ' enjoys! :eight_pointed_black_star:')
except:
pass
if member_ids > 0 and isConnected == False:
isConnected = True