verifier icon indicating copy to clipboard operation
verifier copied to clipboard

Bot doesn't work and log spam "Shard ID"

Open kripto289 opened this issue 3 years ago • 6 comments

I see the bot online, but when I write to him, nothing happens, no messages, only spam in the console. python 3.7 and all modules versions from the "requirements.txt" list.

2022-01-11 01:45:35,734 [DEBUG] Keeping shard ID None websocket alive with sequence 6. 2022-01-11 01:45:35,904 [DEBUG] Dispatching event socket_raw_receive 2022-01-11 01:45:35,904 [DEBUG] For Shard ID None: WebSocket Event: {'t': None, 's': None, 'op': 11, 'd': None} 2022-01-11 01:45:35,904 [DEBUG] Dispatching event socket_response 2022-01-11 01:46:16,999 [DEBUG] Keeping shard ID None websocket alive with sequence 6. 2022-01-11 01:46:17,180 [DEBUG] Dispatching event socket_raw_receive 2022-01-11 01:46:17,180 [DEBUG] For Shard ID None: WebSocket Event: {'t': None, 's': None, 'op': 11, 'd': None} 2022-01-11 01:46:17,180 [DEBUG] Dispatching event socket_response

kripto289 avatar Jan 10 '22 21:01 kripto289

Sorry for the late reply. I didn't get a notification for some reason. I will look into this and get back to you.

instance-id avatar Jan 13 '22 21:01 instance-id

I changed code for the latest discord.py version (it required minor changes) + and right now it works correctly.

kripto289 avatar Jan 13 '22 22:01 kripto289

Great, glad to hear. I suppose I need to go ahead and do some updates then. I never really got any feedback on it from anyone, so wasn't sure if anyone was even using it.

instance-id avatar Jan 13 '22 22:01 instance-id

I think that many developers use it. for example: изображение https://shadowed.blog/tag/assetstore/ at least 3 people (with me, lol) Also I did recognition just by invoice only, without any commands. For example if you bought 4 packages with one invoice you can just send a invoice "IN123456789" and bot will add 4 roles. Else most of the customers will have questions "how to use your bot" in other cases. изображение

I can send you my changes, but I know python a couple of days, so my code is not very beautiful :)

kripto289 avatar Jan 13 '22 22:01 kripto289

Awesome, glad to hear it's working out for you. I tried to make it as flexible as I could. I didn't have any assets of my own published, so there was only "so much" that I could test out. I will have to come check out your channel, I own and use quite a few of your assets. :+1: If you wanted to share the code, that would be great. You could either do a pull-request here on github, or just paste it, whatever you prefer. Then I can be sure to get it updated and in there.

instance-id avatar Jan 13 '22 22:01 instance-id

Can I send you files using discord? "Kripto#6346"

kripto289 avatar Jan 13 '22 23:01 kripto289