dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
684 stars 162 forks source link

Cannot import `discord.ext` in v1.x #141

Closed DankBot4 closed 2 years ago

DankBot4 commented 2 years ago

Summary

I tried importing discord.ext.commands, but it fails

Reproduction Steps

Execute code in shell

Code

from discord.ext import commands

### Expected Results

It is supposed to import `commands`

### Actual Results

ModuleNotFoundError: No module named 'discord.ext'



### System Information

- Python v3.9.7-final
- discord.py-self v1.10.0-alpha
    - discord.py-self pkg_resources: v1.7.3
- aiohttp v3.6.3

### Checklist

- [X] I have searched the open issues for duplicates.
- [X] I have shared the entire traceback.
- [X] I am using a user token (and it isn't visible in the code).

### Additional Information

Also, flask isn't in the requirements.txt but is required.
dolfies commented 2 years ago

v1.x is a fairly unstable and abandoned dev version. If you want v1.x, use the latest released version. If you want the development version, use the rebase branch.

TheOnlyWayUp commented 2 years ago

image I'm using discord.py-self, the rebase rn. Also facing this error.

dolfies commented 2 years ago

Fixed in latest rebase commit.