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

Why an I getting this error #35

Closed
IgnacyFluder opened this issue Dec 24, 2020 · 5 comments
Closed

Why an I getting this error #35

IgnacyFluder opened this issue Dec 24, 2020 · 5 comments

Comments

@IgnacyFluder
Copy link

IgnacyFluder commented Dec 24, 2020

Traceback (most recent call last):
File "C:\Users\ignac\OneDrive\Pulpit\BOT\botRewrite.py", line 9, in
from discord_slash import SlashCommand
File "C:\Users\ignac\AppData\Roaming\Python\Python38\site-packages\discord_slash_init_.py", line 11, in
from .client import SlashCommand
File "C:\Users\ignac\AppData\Roaming\Python\Python38\site-packages\discord_slash\client.py", line 6, in
from . import model
File "C:\Users\ignac\AppData\Roaming\Python\Python38\site-packages\discord_slash\model.py", line 8, in
class SlashContext:
File "C:\Users\ignac\AppData\Roaming\Python\Python38\site-packages\discord_slash\model.py", line 64, in SlashContext
allowed_mentions: discord.AllowedMentions = None,
AttributeError: module 'discord' has no attribute 'AllowedMentions'

@eunwoo1104
Copy link
Contributor

Which discord.py version are you using?

@IgnacyFluder
Copy link
Author

1.5.1

@eunwoo1104
Copy link
Contributor

Hmm... That's weird then. The only thing I can say is reinstalling discord.py

@IgnacyFluder
Copy link
Author

That worked lol

@eunwoo1104
Copy link
Contributor

oof

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