interceptic / SkybotAIO

public use bot
MIT License
5 stars 2 forks source link

Import issues #3

Closed Opencode101 closed 3 months ago

Opencode101 commented 3 months ago

PS C:\Users\skibidi\Downloads\SkybotAIO-main (1)\SkybotAIO-main> python start.py Traceback (most recent call last): File "C:\Users\skibidi\Downloads\SkybotAIO-main (1)\SkybotAIO-main\start.py", line 3, in from bot.bot import bot File "C:\Users\skibidi\Downloads\SkybotAIO-main (1)\SkybotAIO-main\bot\bot.py", line 5, in from bot.modals.list import Setup File "C:\Users\skibidi\Downloads\SkybotAIO-main (1)\SkybotAIO-main\bot\modals\list.py", line 5, in from discord.ui import View, Button, InputText, Modal ImportError: cannot import name 'InputText' from 'discord.ui' (C:\Users\skibidi\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\ui__init__.py) PS C:\Users\skibidi\Downloads\SkybotAIO-main (1)\SkybotAIO-main>

this is with the latest update too

interceptic commented 3 months ago

This issue is caused by not up to date py-cord installation, type pip uninstall py-cord, then pip install --upgrade py-cord

Opencode101 commented 3 months ago

what about the open ai key, where do i set that

interceptic commented 3 months ago

https://platform.openai.com/docs/overview

Note that using openai isn't required for the bot to function