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
142 stars 46 forks source link

<bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x000002A0D3707480>> #267

Closed AugustoRcx closed 9 months ago

AugustoRcx commented 9 months ago

Antes funcionava com alguns erros mas funcionava! Agora sem eu fazer qualquer tipo de alteração ele começou a apresentar o seguinte erro:

Someone else rolled in "0000000000000000000" < (Example)

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x000002A0D3707480>> Traceback (most recent call last): File "C:\Users\home\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "c:\Main\MudaeAutoBot.py", line 605, in on_message if int(kak_value) >= kak_min and charcolor == 16751916: TypeError: '>=' not supported between instances of 'int' and 'str'

Como posso arrumar?