You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For whatever reason, the bot no longer seems to function. Not sure if this is due to some breaking change in the Discord API or an update to the discord.py library. I will look into this further if I have some free time.
The text was updated successfully, but these errors were encountered:
im getting this:
Loop thread traceback (most recent call last):
File "/opt/mconBot/src/mconBot.py", line 124, in
client.run(TOKEN)
File "/usr/lib/python3/dist-packages/discord/client.py", line 828, in run
asyncio.run(runner())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "/usr/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete
self.run_forever()
File "/usr/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
self._run_once()
File "/usr/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
handle._run()
File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3/dist-packages/discord/client.py", line 409, in _run_event
await coro(*args, **kwargs)
File "/opt/mconBot/src/mconBot.py", line 113, in on_message
await send_rcon(cmd, args, message)
File "/opt/mconBot/src/mconBot.py", line 55, in send_rcon
with rcon(IP, PASS, PORT) as mcr:
File "/opt/mconBot/src/rcon.py", line 16, in enter
self.connect()
File "/opt/mconBot/src/rcon.py", line 24, in connect
self.socket.connect((self.host, self.port))
Unfortunately I've been super busy this year and haven't had time to investigate this issue yet. I admit it hasn't been a priority, since I mainly administer my server locally rather than via RCON. There was clearly some kind of upstream change that broke things, but I haven't had time to debug. At this point it might be worth rewriting the whole thing with a newer version of the API.
Given the way many tech companies are currently locking down their APIs, I'm not sure if Discord will even support these types of bots in the future.
For whatever reason, the bot no longer seems to function. Not sure if this is due to some breaking change in the Discord API or an update to the discord.py library. I will look into this further if I have some free time.
The text was updated successfully, but these errors were encountered: