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

Bug: conditions checks break with vars which are not changed from the default value (6.8.0) #618

Closed
1 task done
papaaj opened this issue Jun 26, 2024 · 1 comment
Closed
1 task done
Assignees
Labels
Issue:Won't Fix This will not be worked on

Comments

@papaaj
Copy link

papaaj commented Jun 26, 2024

Bug Type

Function

Bugged Function

$checkCondition[$let[test]!=$getGuildVar[prefix]] //Returns true
$let[test;!]


prefix: "!" //Default var value is !

Version of aoi.js

v6.7.1

Version of Node.js

v16.11.0 (Lowest)

Excepted Output

false

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Mody-0
Copy link

Mody-0 commented Jun 28, 2024

That's not a bug, you have "!" as your default var value so naturally when you're trying to get your guild var it will return the default value unless changed.
that's just how it works

@Faf4a Faf4a closed this as completed Jun 28, 2024
@Faf4a Faf4a added the Issue:Won't Fix This will not be worked on label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue:Won't Fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants