Open SilvorMike opened 4 years ago
Typing !purge 10 gives me this error in console
`PHP Fatal error: Uncaught TypeError: Return value of Nimda\Core\Command::execute() must implement interface React\Promi se\PromiseInterface, null returned in /home/silvormike/public_html/NimdaDiscord/Nimda/Core/Command.php:46 Stack trace:
ute(Object(CharlotteDunois\Yasmin\Models\Message), 'purge 10', 'purge {amount:\...')
.php(32): Nimda\Core\CommandContainer->onMessage(Object(CharlotteDunois\Yasmin\Models\Message))
unois\Yasmin\Client->emit('message', Object(CharlotteDunois\Yasmin\Models\Message))
te.php(64): CharlotteDunois\Yasmin\Client->q in /home/silvormike/public_html/NimdaDiscord/Nimda/Core/Comman d.php on line 46`
What am I doing wrong?
Typing !purge 10 gives me this error in console
`PHP Fatal error: Uncaught TypeError: Return value of Nimda\Core\Command::execute() must implement interface React\Promi se\PromiseInterface, null returned in /home/silvormike/public_html/NimdaDiscord/Nimda/Core/Command.php:46
Stack trace:
0 /home/silvormike/public_html/NimdaDiscord/Nimda/Core/CommandContainer.php(226): Nimda\Core\Command->exec
ute(Object(CharlotteDunois\Yasmin\Models\Message), 'purge 10', 'purge {amount:\...')
1 /home/silvormike/public_html/NimdaDiscord/vendor/charlottedunois/eventemitter/src/EventEmitterErrorTrait
.php(32): Nimda\Core\CommandContainer->onMessage(Object(CharlotteDunois\Yasmin\Models\Message))
2 /home/silvormike/public_html/NimdaDiscord/vendor/charlottedunois/yasmin/src/Client.php(1023): CharlotteD
unois\Yasmin\Client->emit('message', Object(CharlotteDunois\Yasmin\Models\Message))
3 /home/silvormike/public_html/NimdaDiscord/vendor/charlottedunois/yasmin/src/WebSocket/Events/MessageCrea
te.php(64): CharlotteDunois\Yasmin\Client->q in /home/silvormike/public_html/NimdaDiscord/Nimda/Core/Comman d.php on line 46`
What am I doing wrong?