2024-07-29 02:17:59 ERROR discord.ext.commands.bot Ignoring exception in command getpasswords
Traceback (most recent call last):
File “C:UserstbyetAppDataRoamingPythonPython312site-packagesdiscordextcommandscore.py”, line 235, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UserstbyetDesktopTASRATconfig.py”, line 405, in getpasswords
data = get_data(browser_path, profile, master_key, data_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UserstbyetDesktopTASRATconfig.py”, line 355, in get_data
if data_type_name == ‘history’ and row[2] != 0:
^^^^^^^^^^^^^^
NameError: name ‘data_type_name’ is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “C:UserstbyetAppDataRoamingPythonPython312site-packagesdiscordextcommandsbot.py”, line 1350, in invoke
await ctx.command.invoke(ctx)
File “C:UserstbyetAppDataRoamingPythonPython312site-packagesdiscordextcommandscore.py”, line 1029, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UserstbyetAppDataRoamingPythonPython312site-packagesdiscordextcommandscore.py”, line 244, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name ‘data_type_name’ is not defined
This is output.
I tried to ask this to GPT but he broked my code
Berk Y. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.