Adding control via discord bot #43
coolpilot904
started this conversation in
Ideas
Replies: 1 comment
-
I'm glad to hear that you're extending your proxy!
In short, creating a Discord bot interface for all of those things (and more) is 100% possible. There is also a fork of 2based2wait with a GUI web interface that you may want to look at for inspiration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to add the ability to use a discord bot to control things like restarting the supervisor, terminating the program and and starting it. I was able to get a bot using discord.js running inside of 2based2wait by doing the following:
const Discord = require('./util/discord.js');
to proxy.jsMy bot is currently very simple, when you say "!hi" it responds with "hello!" in any discord server it is added to. But nonetheless it does work. Do any of you have any idea of you could make it able to run those commands or if it is even possible? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions