def run_programm(): global global_command b = str('voice_commands.' + global_command) commands = { global_command: b, } commands[global_command]() run_programm()
File “d:\discord\sql\sqlquerty.py”, line 411, in <module>
DATABASEASK()
File “d:\discord\sql\sqlquerty.py”, line 388, in DATABASEASK
run_programm()
File “d:\discord\sql\sqlquerty.py”, line 386, in run_programm
commands()
TypeError: ‘str’ object is not callable
(discord) PS D:\discord>