Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kripto289 opened this issue Jan 10, 2022 · 6 comments
Open

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

kripto289 opened this issue Jan 10, 2022 · 6 comments

Comments

@kripto289
Copy link

kripto289 commented Jan 10, 2022

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

@instance-id
Copy link
Owner

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

@kripto289
Copy link
Author

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

@instance-id
Copy link
Owner

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.

@kripto289
Copy link
Author

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 :)

@instance-id
Copy link
Owner

instance-id commented Jan 13, 2022

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. 👍 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.

@kripto289
Copy link
Author

kripto289 commented Jan 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants