alexemanuelol / RustPlus-Discord-Bot

This is an NodeJS Discord Bot that uses the rustplus.js to interact with Smart Devices in the PC game Rust.
GNU General Public License v3.0
31 stars 12 forks source link

Commands from Discord Bots #5

Closed mtvProof closed 2 years ago

mtvProof commented 2 years ago

I’ve been using your discord Rust Plus with my group for the past two weeks or so and we really enjoy it, just wondering if it is possible to allow your discord bot to take commands from another discord bot? I have my streamdeck set up using webhooks so when i push a button a webhook bot will say “!turnOn turrets” in the correct channel, but your bot ignores it since it is coming from a discord bot, is this something I could easily change? or maybe in a future update?

Thanks

alexemanuelol commented 2 years ago

Hello,

It would be possible to change but from what I understand, that's against Discord ToS and may result in an account ban.

mtvProof commented 2 years ago

Which part is against the discord ToS? I haven't looked into it, but I wouldnt think using webhooks to control a discord bot would be against the ToS

mtvProof commented 2 years ago

image

This is what i'm trying to do with it, the Stream Deck (bot) is a webhook linked to my Stream Deck button, so when I push a button, that bot will say the command, but RustPlus seems to ignore the bot's commands

alexemanuelol commented 2 years ago

Just a quick search gave me several sources saying that it's bad practice responding to other bot commands. It could be interpreted as spam, endless loop, etc... which would be against the ToS.

Here are just some of the sources I found: https://stackoverflow.com/questions/56799778/discord-bot-to-trigger-other-bots-actions https://www.reddit.com/r/discordapp/comments/a35txa/bots_setting_other_bots_commands/