Skip to content
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

New issue due to 2.0.0 issues: #48

Closed
JDJGInc opened this issue Aug 10, 2021 · 1 comment
Closed

New issue due to 2.0.0 issues: #48

JDJGInc opened this issue Aug 10, 2021 · 1 comment

Comments

@JDJGInc
Copy link

JDJGInc commented Aug 10, 2021

/menus/init.py", line 700, in start
permissions = channel.permissions_for(me)
AttributeError: 'PartialMessageable' object has no attribute 'permissions_for'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 960, in invoke
await ctx.command.invoke(ctx)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/ext/commands/core.py", line 825, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/ext/commands/core.py", line 134, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'PartialMessageable' object has no attribute 'permissions_for'

@JDJGInc
Copy link
Author

JDJGInc commented Aug 10, 2021

Basically I am wondering currently how I can get a PartialMessageable to become a Dmchannel again, cause otherwise I don't have a workable channel.
For anything that uses DMchannel checks for me.

@Rapptz Rapptz closed this as completed Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants