I
I
Ivan2020-07-31 18:46:06
Python
Ivan, 2020-07-31 18:46:06

Why is the Discord bot not working?

Recently, while starting Economic Bot, I ran into a
TypeError: 'NoneType' object is not subscriptable
Here is the code:
https://pastebin.com/XMVBrKDv
Here is the error:
https://pastebin.com/51fMvLv2
Library: discord.py

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-07-31
@EHEVIX

in sqlite, if there are no rows to select, the method fetchone()returns None

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question