GithubHelp home page GithubHelp logo

Comments (18)

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

hey

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

@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.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

oh i think i accidently overwrote the manually installed python with the windows python

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

yo how do you uninstall the windows store python? 🤣

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

I think you need to do it from the settings app. Add or remove programs

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

yo i installed python 3.10.1 and now it says python not found xd

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

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.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

oh im trying to run it in visual studios terminal

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

should i uninstall and install again

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

No just look up how to add it to your PATH

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

i already uninstalled and installed with the path option

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

it still says python not found do i restart my pc

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

Restart Visual studio

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

i alreaady did multiple times

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

ok try rebooting your computer then

from discord-moderation-bot.

davidavidavi123 avatar davidavidavi123 commented on May 28, 2024

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.

Column01 avatar Column01 commented on May 28, 2024

OK that's a genuine error, let me fix it real quick

from discord-moderation-bot.

Column01 avatar Column01 commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.