How to run a stop command through discord bot

Y'all I grabbed this cool script that lets me start the server from discord so anyone (with the required role) can do it, but I kinda want to be able to close it as well with the bot.
No description
4 Replies
Admincraft Meta
Admincraft Meta8mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by rigin.rodrigo#0
Rigin
RiginOP8mo ago
But I don't know anything about python lmao
Rigin
RiginOP8mo ago
I can type 'stop' in the discord bot console, which means it absolutely has the function to read and send commands to the server
No description
No description
Rigin
RiginOP8mo ago
I just don't know how I'd do that in the python script

Did you find this page helpful?