Comments (2)
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))
from mconbot.
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.
from mconbot.
Related Issues (9)
- (Docker) ARM architecture not supported by this script HOT 3
- Parsing problem for commands without arguments on Vanilla servers HOT 13
- custom command input HOT 5
- Option to Specify Port HOT 7
- React to Messages from Bots HOT 17
- /list command not working HOT 9
- Feature Request: Remote Start & Shutdown HOT 5
- Help command returns nothing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mconbot.