Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When run through the console (python -m rira), it gives an error: #6

Open
psych00z opened this issue Feb 22, 2022 · 1 comment
Open

Comments

@psych00z
Copy link

I did everything according to the instructions

(RiRa-main-ln0KUbM-) C:\Users\dropw\Desktop\RiRa-main>python -m rira
Traceback (most recent call last):
File "d:\python 3.8.6\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\python 3.8.6\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\dropw\Desktop\RiRa-main\rira_main
.py", line 1, in
from . import bot
File "C:\Users\dropw\Desktop\RiRa-main\rira\bot.py", line 10, in
bot = commands.Bot(command_prefix=cfg["$"], activity=discord.Activity(type=discord.ActivityType.listening, name="!help ❤️"), help_command=None)
TypeError: 'NoneType' object is not subscriptable

@grantwforsythe
Copy link
Contributor

grantwforsythe commented Apr 5, 2022

  1. What were your exact steps? Did you simply clone the repo, update config.toml, and run the bot?
  2. Did you install the required 3rd party libraries?

Aside: Your comment isn't very descriptive so it makes it harder for people to try and help you. It's always best to provide as much relevant information as possible and to be specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants