Skip to content

ln(-1) issue in math trivia #1736

@asterized

Description

@asterized

Description

The math trivia section of the bot has a question that states "What is the natural log of -1 (use i for imaginary number)?", whose valid answers are pi*i, pii, πi. However, the bot does not accept ipi, which is a valid answer to this question.

Steps to Reproduce

  • Use the .trivia math command
  • Wait for the question which states "What is the natural log of -1 (use i for imaginary number)?"
  • Answer "ipi"

Expected Behaviour

The bot correctly identifies "ipi" as a correct answer

Actual Behaviour

The bot does not accept "ipi" as a correct answer.

Known Impacted Platforms

  • Web
  • Desktop
  • Android App
  • iOS App

Possible Solutions

Add "ipi" and "iπ" as correct solutions to this problem

Would you like to implement a fix?

Note: For high-priority or critical bugs, fixes may be implemented by staff.

  • I'd like to implement the bug fix
  • Anyone can implement the bug fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions