mrbbot / slshx

⚔️ Strongly-typed Discord commands on Cloudflare Workers
MIT License
211 stars 8 forks source link

Is there a way to use the same command mechanism but use message as trigger instead of slash command #12

Open wighawag opened 2 years ago

wighawag commented 2 years ago

Is there a way to use the same command mechanism but use message as trigger instead of slash command ?

Been trying to solve this https://github.com/mrbbot/slshx/issues/11 on my own but from what I understood, I am not sure I can create a thread out of slash command interaction. And this got me thinking maybe I could simply react to special message, like !start instead of /start but I am wondering if slshx can support that

Would be great to have for general thing too,

Terisback commented 2 years ago

To trigger from message content you need to say on "line" with discord api via websockets, so it's possible but does not implemented yet