Skip to main content
Best answer

Execute a command on Discord

  • December 9, 2022
  • 1 reply
  • 1403 views

Hi, one question, I can send a message to a discord channel but I can't execute a command like:

/spoiler message: hello

When I send this text from my module to discord it only show me text not execute the command.

It's posible to do it?

BR,
Pablo.

Best answer by jesse

Hey @ppietroi! I’m fairly certain that for a command to work, it must be executed from within Discord, otherwise, it’s just recognized as text. I might suggest checking with the Discord team to see if they know of any creative workarounds you could try!

I’m going to mark my response as an answer but if you have any follow up questions, simply reply to this thread and we’d be happy to help! Perhaps another community member will have a creative idea for you in the meantime. 🙂

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

jesse
Forum|alt.badge.img+9
  • Architect
  • Answer
  • December 9, 2022

Hey @ppietroi! I’m fairly certain that for a command to work, it must be executed from within Discord, otherwise, it’s just recognized as text. I might suggest checking with the Discord team to see if they know of any creative workarounds you could try!

I’m going to mark my response as an answer but if you have any follow up questions, simply reply to this thread and we’d be happy to help! Perhaps another community member will have a creative idea for you in the meantime. 🙂