#Can't get object voice channel

1 messages · Page 1 of 1 (latest)

dusk ore
#

I'm trying to find a voice channel by name, but I can't find the channel and get None

#

Moreover, the channel exists

#

I'm trying to take the channel name that comes after the dot in author text and get the given channel object

cedar veldt
#

fetching the guild u don't get channel list

#

print guild.channels, will be empty list

dusk ore
#

Exactly

#

But how can I get a guild then?

#

If i use self.bot.get_guild(id) - i get " "
if i use self.bot.fetch_guild(id) - i get guild, but can't get channels

white gazelle
#

Simply don't do shit in on_ready. Cog or otherwise.

dusk ore