Open PhABC opened 1 year ago
Describe the bug Testing a simple ping / pong command with corde, both bots behave as expected on discord but the test fails with ;
expected: testing bot to send a message received: no message was sent
Here's the code for the test ;
group("Commands", () => { test("Ping command should return pong'", () => { expect("ping").toReturn("pong"); }); });
Note the corde bot has admin privilege and I set all possible intents on the application développer portal.
Expected behavior Test should pass since my bot responded with pong
pong
Screenshots
Alfred's mom being the corde testing bot and the GTC one being the one we are building tests for.
Desktop (please complete the following information):
Describe the bug Testing a simple ping / pong command with corde, both bots behave as expected on discord but the test fails with ;
Here's the code for the test ;
Note the corde bot has admin privilege and I set all possible intents on the application développer portal.
Expected behavior Test should pass since my bot responded with
pong
Screenshots
Alfred's mom being the corde testing bot and the GTC one being the one we are building tests for.
Desktop (please complete the following information):