Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
Unable to import discord.py
Post Flair (click to view more posts with a particular flair)
Post Body

So I was regularly using my discord bot when all of a sudden:

ImportError: cannot import name 'PartialMessageable' from 'discord.channel' (/home/runner/Bug-Bot-Official/venv/lib/python3.8/site-packages/discord/channel.py)

I tried uninstalling and reinstalling discord.py and even remade the project (copy pasted the code into another one)

Please help

Comments
[not loaded or deleted]

What version of discord.py are you using? Is it a fork of discord.py?

[not loaded or deleted]

What is .client and .webhook? If you're trying to import discord.Client, discord.PartialMessageable and discord.Webhook, just do from discord import Client, Webhook, PartialMessageable

[not loaded or deleted]

Aight so I checked the docs to be sure, it's just from discord import PartialMessageable

[not loaded or deleted]

Aight so I checked the docs to be sure, it's just from discord import PartialMessageable

Author
Account Strength
80%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
599
Link Karma
411
Comment Karma
5
Profile updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago