Comments (18)
hey
from discord-moderation-bot.
@davidavidavi123 I've not had this issue before. I suspect it has to do with either where you extracted it (in your downloads folder) or the fact you seem to be using python that was installed from the windows store. Please try putting it in your documents folder (so like Documents/Discord-Moderation-Bot
and then the bot.py
script should be in that folder, no sub folder) and try again. If that doesn't work, please try installing python manually, not from the windows store
from discord-moderation-bot.
oh i think i accidently overwrote the manually installed python with the windows python
from discord-moderation-bot.
yo how do you uninstall the windows store python? 🤣
from discord-moderation-bot.
I think you need to do it from the settings app. Add or remove programs
from discord-moderation-bot.
yo i installed python 3.10.1 and now it says python not found xd
from discord-moderation-bot.
you will need to add it to your path variables to use it in the command prompt. It was an option when you installed it... might need to google it now
from discord-moderation-bot.
oh im trying to run it in visual studios terminal
from discord-moderation-bot.
should i uninstall and install again
from discord-moderation-bot.
No just look up how to add it to your PATH
from discord-moderation-bot.
i already uninstalled and installed with the path option
from discord-moderation-bot.
it still says python not found do i restart my pc
from discord-moderation-bot.
Restart Visual studio
from discord-moderation-bot.
i alreaady did multiple times
from discord-moderation-bot.
ok try rebooting your computer then
from discord-moderation-bot.
k it works now but i got another error
Traceback (most recent call last):
File "C:\Users\23740\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\23740\AppData\Local\Programs\Python\Python310\lib\asyncio\coroutines.py", line 136, in coro
res = yield from await_meth()
File "C:\Users\23740\Documents\Discord-Moderation-Bot-master\bot.py", line 60, in event_template
await handler.handle(*args, **kwargs)
File "C:\Users\23740\Documents\Discord-Moderation-Bot-master\events\ready.py", line 17, in handle
await self.client.storage.init()
File "C:\Users\23740\Documents\Discord-Moderation-Bot-master\storage_management.py", line 17, in init
await self.create_file()
File "C:\Users\23740\Documents\Discord-Moderation-Bot-master\storage_management.py", line 57, in create_file
with open(self.settings_file_path, "w+") as w:
AttributeError: 'StorageManagement' object has no attribute 'settings_file_path'
from discord-moderation-bot.
OK that's a genuine error, let me fix it real quick
from discord-moderation-bot.
Redownload the repository (or better yet setup git so you could just pull the changes easily) and it should work
from discord-moderation-bot.
Related Issues (20)
- How to add a status HOT 10
- Unban Command HOT 1
- Why not @ mentions instead of user id's. HOT 3
- how do i get the @client.command or the @client.event ?
- how to add a command to change the prefix for every server HOT 2
- main.py Not found HOT 3
- Mod role isn't recognized as Moderator HOT 10
- Error in console. How to fix? HOT 2
- IS IT PYCORD OR DPY? HOT 2
- Error console HOT 2
- help HOT 8
- Error in console: HOT 3
- AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'? HOT 5
- Hh
- Asking how to start using the bot HOT 9
- Storage explanation HOT 2
- WTF is happening here HOT 3
- why did you not add the ban command? HOT 1
- how to change the prefix HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-moderation-bot.