Open mtalaeii opened 7 months ago
This bug is very bad bug actually i want have more than 1 class for generic message .
This is necessary that the class name is GenericmessageCommand and the $name is genericmessasge to execute generic commands this is my code
class ManagechannelsCommand extends SystemCommand { protected $private_only = true; protected $name = 'managechannels'; /** * @inheritDoc */ public function execute(): ServerResponse { if ($this->getMessage()->getText(true) != '.....') { return Request::emptyResponse(); } ...... return $this->replyToUser('.......'); } }
I expecte if we dont have usage then the class maybe is one of genericmessage command classes then its just executed with any type of message
Hello
Do you still need help with this issue?
🐞 Bug Report
Required Information
Summary
This bug is very bad bug actually i want have more than 1 class for generic message .
Current behaviour
This is necessary that the class name is GenericmessageCommand and the $name is genericmessasge to execute generic commands this is my code
Expected behaviour
I expecte if we dont have usage then the class maybe is one of genericmessage command classes then its just executed with any type of message