vivinano / MudaeAutoBot

python bot that uses strictly the **Discord API** to Roll,Claim,and Kakera Snipe in Mudae. 5/10/21 project converted over to discum library
Apache License 2.0
149 stars 50 forks source link

UnboundLocalError: local variable 'settings_hope_prefix' referenced before assignment #277

Closed larrryfisherthefisherman closed 1 month ago

larrryfisherthefisherman commented 2 months ago

File Not Found using Different Method Default $settings used for channel 13323474257155487980 Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x0000020211B776E0>> Traceback (most recent call last): File "C:\Users\Steven\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "C:\Users\Steven\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 693, in on_message msg = get_server_settings(gid,matched_channel) File "C:\Users\Steven\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 186, in get_server_settings · Prefix: {settings_hope_prefix} ($prefix) UnboundLocalError: local variable 'settings_hope_prefix' referenced before assignment

nasseralharbi12 commented 1 month ago

did you solve it ? I have the same Issue