How do I grab the voice channel the bot is currently connected to?
Heres is the breakdown:
CONTEXT:
I am trying to make a simple if statement, that compares the guild ID of the voice channel from the user, to the guild ID of the bot's current channel.
PROBLEM:
I am incorrectly grabbing the ID of the bots current channel. These are my two commands:
The second one I got off Google, but it just grabs the same value. I'm looking through the docs but I'm misunderstanding something because nothing is working.
QUESTION:
How do I get the ID of the bot's current connected voice channel?
CONTEXT:
I am trying to make a simple if statement, that compares the guild ID of the voice channel from the user, to the guild ID of the bot's current channel.
PROBLEM:
I am incorrectly grabbing the ID of the bots current channel. These are my two commands:
The second one I got off Google, but it just grabs the same value. I'm looking through the docs but I'm misunderstanding something because nothing is working.
QUESTION:
How do I get the ID of the bot's current connected voice channel?