mautrix / discord

A Matrix-Discord puppeting bridge
https://go.mau.fi/mautrix-discord
GNU Affero General Public License v3.0
240 stars 22 forks source link

Ability to send bot commands to Discord channel bots #114

Open jfryton opened 11 months ago

jfryton commented 11 months ago

I currently don't seem to be able to send /commands to Discord bots. This would be useful for servers that support things like AI image generation (example: using /make on https://discord.gg/fulljourney).

Thanks!

Sid127 commented 11 months ago

You can run those using !discord exec in a room. However, only bridges logged in with user accounts can use them.

jfryton commented 11 months ago

You can run those using !discord exec in a room. However, only bridges logged in with user accounts can use them.

Thanks very much! It would be helpful if it were shorter.

Via Bridge: !discord exec make prompt="This is a prompt with spaces"

Via Discord: /make prompt: This is a prompt with spaces

Sid127 commented 11 months ago

try !discord exec make "prompt"

Sid127 commented 11 months ago

ok, sorry about that. Admittedly I hadn't used the exec command at all, but I did get it working just fine image