V
V
v232 324422021-04-01 19:03:11
Python
v232 32442, 2021-04-01 19:03:11

How to connect rcon py and discord py to manage server via rcon via discord?

I wrote a small script to manage the server through rkon and then I decided to make a discord bot that sends commands to the server through rkon, but I don’t understand how to connect mctools and discord py somehow I tried nothing, it didn’t work, the bot connects for a second and immediately disconnects from the recon, and if you write to him the command gives a bunch of errors
in python, I don’t really understand, you uploaded the first screen, this is my attempt to connect the rcon and the ds bot, I tried to make the rcon send to the server ( arg )6065edb008069975493749.jpeg 6065edfa97d0a304822489.jpeg6065ee4083faf806777135.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Mikhail, 2021-04-01
@qwerezedl32weiss

Write your discord, maybe I can help.

U
UberPool, 2021-04-01
@UberPool

Try using threads for this. Run the bot with one thread, run the bot with the other

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question