EQUENOS / dislash.py

A Python wrapper for discord slash-commands and buttons, designed to extend discord.py.

Home Page:https://dislashpy.readthedocs.io/en/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError when trying to import dislash

rf20008 opened this issue · comments

When trying to import dislash.py, a ModuleNotFoundError: No module named 'discord.webhook.async_' is raised.

Full traceback:
Traceback (most recent call last):
File "main.py", line 2, in
import threading, dislash
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/dislash/init.py", line 4, in
from .interactions import *
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/dislash/interactions/init.py", line 1, in
from .interaction import *
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/dislash/interactions/interaction.py", line 13, in
from discord.webhook.async_ import WebhookMessage
ModuleNotFoundError: No module named 'discord.webhook.async_'

This is an invalid issue