Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Message was Sent #1631

Open
PhABC opened this issue Apr 22, 2023 · 0 comments
Open

No Message was Sent #1631

PhABC opened this issue Apr 22, 2023 · 0 comments

Comments

@PhABC
Copy link

PhABC commented Apr 22, 2023

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

Screenshots
Screen Shot 2023-04-22 at 2 30 14 PM

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):

  • OS: Mac
  • Terminal: bash
  • Corde version - latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant