PS D:\Coding\Discord Bots\AccBots> python '.\Acc Grabber.py'
Traceback (most recent call last):
File ".\Acc Grabber.py", line 1, in
import selfcord
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord__init.py", line 2, in
from .api import *
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\api\init.py", line 2, in
from .gateway import Activity, gateway
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\api\gateway.py", line 13, in
from selfcord.models.client import Client
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\models\init.py", line 2, in
from .channel import (Category, DMChannel, GroupChannel, Messageable,
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\models\channel.py", line 15, in
from ..utils import logging
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\utils\init__.py", line 2, in
from .command import (Command, CommandCollection, Context, Event, Extender,
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\utils\command.py", line 8, in
from typing import TYPE_CHECKING, Any, get_origin
ImportError: cannot import name 'get_origin' from 'typing' (C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\typing.py)
PS D:\Coding\Discord Bots\AccBots>
import selfcord
token = "MY TOKEN"
bot = selfcord.Bot()
@bot.on("ready")
async def ready(time):
print(f"Connected To {bot.user.name}\n Startup took {time:0.2f} seconds")
@bot.on("message")
async def responder(message):
if message.content == "ping!":
await message.channel.send("pong!")
bot.run(token)
PS D:\Coding\Discord Bots\AccBots> python '.\Acc Grabber.py' Traceback (most recent call last): File ".\Acc Grabber.py", line 1, in
import selfcord
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord__init.py", line 2, in
from .api import *
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\api\ init.py", line 2, in
from .gateway import Activity, gateway
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\api\gateway.py", line 13, in
from selfcord.models.client import Client
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\models\ init.py", line 2, in
from .channel import (Category, DMChannel, GroupChannel, Messageable,
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\models\channel.py", line 15, in
from ..utils import logging
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\utils\ init__.py", line 2, in
from .command import (Command, CommandCollection, Context, Event, Extender,
File "C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selfcord\utils\command.py", line 8, in
from typing import TYPE_CHECKING, Any, get_origin
ImportError: cannot import name 'get_origin' from 'typing' (C:\Users\byron\AppData\Local\Programs\Python\Python37-32\lib\typing.py)
PS D:\Coding\Discord Bots\AccBots>