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

(age) variable is broken [Error: "event" is not defined] #3120

Closed
abraxas86 opened this issue Mar 7, 2023 · 0 comments
Closed

(age) variable is broken [Error: "event" is not defined] #3120

abraxas86 opened this issue Mar 7, 2023 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@abraxas86
Copy link

PhantomBot Version: 3.7.4.2 (stable) (Revision: 1a013f1)
Operating System: Linux
Java Version: 11.0.17+8
PhantomBot License: GNU General Public License v3.0

Detailed Description: The (age) variable doesn't seem to be working. I copied the example straight from the Variables help, and it threw the same error as when I was trying to experiment with it.

Steps to Reproduce:
Do anything with (age)

Logs:

[03-07-2023 @ 16:41:11.839 GMT] abraxas86: !addcom !age (age)
[03-07-2023 @ 16:41:11.848 GMT] [CHAT] @Abraxas86, Command !age has been created!
[03-07-2023 @ 16:41:14.971 GMT] abraxas86: !age
[03-07-2023 @ 16:41:15.269 GMT] [ERROR] [init.js:420] Error with Event Handler [command] Script [./commands/customCommands.js] Stacktrace [age()@user.js:80 > tags()@commandTags.js:219 > customCommands.js:182 > init.js:412 > init.js:684] Exception [ReferenceError: "event" is not defined.]
@abraxas86 abraxas86 changed the title (age) variable is broken (age) variable is broken ("event" is not defined) Mar 7, 2023
@abraxas86 abraxas86 changed the title (age) variable is broken ("event" is not defined) (age) variable is broken [Error: "event" is not defined] Mar 7, 2023
@gmt2001 gmt2001 self-assigned this Mar 7, 2023
@gmt2001 gmt2001 added the bug label Mar 7, 2023
@gmt2001 gmt2001 added this to Needs triage in Bug Triage via automation Mar 7, 2023
@gmt2001 gmt2001 added this to the 3.7.0 milestone Mar 7, 2023
@gmt2001 gmt2001 moved this from Needs triage to High priority in Bug Triage Mar 8, 2023
Bug Triage automation moved this from High priority to Closed Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Bug Triage
  
Closed
Development

No branches or pull requests

2 participants