-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Channel always none #2409
Comments
Also there is a great place for you to ask questions, at https://discord.gg/dpy - let's join and you can question there. Not here, sorry. |
There is a reason the issue template for bug reports asks for a full traceback and reproduction steps. |
Damn! A little misunderstanding, my script is in a Class and i try this, #
#
#
#
class MrDoorbell(discord.Client):
#
#
#
async def on_ready(self):
client = discord.Client()
channel = client.get_channel(12345678) Of course it don't work. Sorry! Now it works fine with self.get_channel() ;-) |
I don't get it, all works, i can see events in "on_message", but when i try to get a specifiy channel, anywhere in the code, the channel is always "none". Public Channels and Private Channels they seems to not exists.
The text was updated successfully, but these errors were encountered: