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: Button, SelectMenu Parser (v6.8.0) #609

Open
1 task done
lawerth opened this issue Jun 1, 2024 · 3 comments
Open
1 task done

Bug: Button, SelectMenu Parser (v6.8.0) #609

lawerth opened this issue Jun 1, 2024 · 3 comments
Assignees

Comments

@lawerth
Copy link

lawerth commented Jun 1, 2024

Bug Type

Function

Bugged Function

$sendMessage[Hello!
 {actionRow:
 
  {button:Hello!:secondary:customID:false:$get[emoji]}
 }
]

$let[emoji;<:bitcoin:1064159459460517958>]

Version of aoi.js

v6.7.1

Version of Node.js

v21.4.0 (Current)

Excepted Output

The button in the code was supposed to work normally. But in the new version (v6.8.0) this code no longer works. It gives an "Invalid emoji" error. Please, correct it.

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@atlasfyber
Copy link

atlasfyber commented Jun 1, 2024

As temporary solution, you can just add the emoji ID.

{button:Hello!:secondary:customID:false:1064159459460517958}

Or you can also use your $get function for this, if needed.

@Faf4a
Copy link
Member

Faf4a commented Jul 5, 2024

looking into this, does this still occur in 6.8?

@atlasfyber
Copy link

looking into this, does this still occur in 6.8?

Yup!

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

4 participants