Dishorde icon indicating copy to clipboard operation
Dishorde copied to clipboard

Bot ignoring

Open xTlosx opened this issue 2 years ago • 1 comments

Any chance the bot can allow other bots to trigger it's commands?

Been fiddling for a bit, but would like my button bot to send the 7d!players command and have it respond... just 1 less thing to type ig.
True / false option maybe?

Thank you C> Ice cream for anyone who reads this :)

xTlosx avatar Feb 25 '22 18:02 xTlosx

This is done as a safety precaution to prevent bots behaving unexpectedly (such as getting stuck in a "feedback loop") by talking to each other. For this reason, I would be hesitant to make a config option.

However, for your purposes, modifying the code will likely be pretty simple. You can delete or comment out this check in the parseDiscordCommand function to accomplish this. This should allow Dishorde to accept input from other bots.

LakeYS avatar Feb 28 '22 05:02 LakeYS

Closing for now. Feel free to reply back with any further questions, or reach out on Discord.

LakeYS avatar Jul 08 '23 18:07 LakeYS