Open SaturnusDJ opened 1 year ago
An update, one step further. It seems like the old Discord version (1.4.1) does not work. 1.7.3 does run, but still not work. Picked this also out of date version because of the following.
Updated to 2.1.0 and the error is as described here: https://stackoverflow.com/questions/73397992/discord-py-cannot-find-reference-requestswebhookadapter Patched it like that.
Following error is as on https://stackoverflow.com/questions/71959420/client-init-missing-1-required-keyword-only-argument-intents Patched like described.
And back to the first sentence of this post, with the addition that now 2 INFO log lines appear, as shown below.
Log:
/pubg.reportbot-master # python3.10 pubgbot.py
pubg.report bot v1.2
WARNING:discord.client:PyNaCl is not installed, voice will NOT be supported
2023-01-26 20:38:29 INFO discord.client logging in using static token
INFO:discord.client:logging in using static token
2023-01-26 20:38:30 INFO discord.gateway Shard ID None has connected to Gateway (Session ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX).
INFO:discord.gateway:Shard ID None has connected to Gateway (Session ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX).
Loading external assets..Loaded
Bot is now running.
# Clients have to use !register command to register themselves.
# !unregister to unregister
# The command !test <pugbname> is also available to see if
the bot has successfully located them on pubg.report
Checking pubg.report now!
Below that it posts the usernames of people chatting, so it does seem to be able to read (permission checks confirm this), but it does not seems to respond to commands.
EDIT Sent the bot the commands as private message. That brings up a response. Is that how it is supposed to work? Nothing more happens though.
EDIT2 After the 'weapon' fix by https://github.com/kragebein/pubg.reportbot/issues/3#issuecomment-1295446920 both version 'trees' (1.7.3 and 2.1.0) are working now.
https://github.com/SaturnusDJ/pubg.report-discord-bot
Applied the mentioned patches, and made some further adjustments.
Got this error. Environment is Alpine Linux, which is extremely minimal, so that might have to do with it, but not sure how to move this further.