Reputation: 11
I want to see if a user is talking by using discord.py library. Is there a function or code that I can use to do that? Maybe something like this:
@bot.event
async def on_talking_update(user, prev, cur):
if cur.is_talking and prev.is_not_talking:
print("the person is now talking")
elif prev.is_talking and cur.is_not_talking:
print("the person is done talking")
Upvotes: 0
Views: 760
Reputation: 88
You can't detect if someone is talking in a voice channel. You can only see if they are in a voice channel.
Upvotes: 3