dolfies / discord.py-self

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

cannot import tasks (and commands) #315

Closed kxi0 closed 2 years ago

kxi0 commented 2 years ago

Summary

cannot import tasks from discord.ext

Reproduction Steps

imported tasks from discord.ext (same with commands)

Code

import discord, asyncio, os
from discord.ext import tasks, commands

Expected Results

importing tasks and commands

Actual Results

Screenshot_20220702-165445_Samsung Internet

System Information

Screenshot_20220702-165611_Samsung Internet

Checklist

Additional Information

It might be cause I'm testing with replit. I installed discord.py-self, uninstalled discord.py

dolfies commented 2 years ago

You may have a file named discord.py. This doesn't seem to be a library bug. Either way, don't use repl.it.