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

Embed color #388

Closed
Liux71 opened this issue Dec 16, 2022 · 8 comments
Closed

Embed color #388

Liux71 opened this issue Dec 16, 2022 · 8 comments
Assignees
Labels
type: enhancement Features and feature requests.
Milestone

Comments

@Liux71
Copy link

Liux71 commented Dec 16, 2022

How can i change the embeds color?

@Liux71 Liux71 added the type: question Questions regarding the use of discord-tictactoe. label Dec 16, 2022
@utarwyn
Copy link
Owner

utarwyn commented Dec 16, 2022

Hello, you cannot change duel request embed color for now. But I can look into this and add an option for it 👍

@utarwyn utarwyn self-assigned this Dec 16, 2022
@utarwyn utarwyn added type: enhancement Features and feature requests. and removed type: question Questions regarding the use of discord-tictactoe. labels Dec 16, 2022
@Liux71
Copy link
Author

Liux71 commented Dec 16, 2022

and the play embed? can I change it?

@utarwyn
Copy link
Owner

utarwyn commented Dec 16, 2022

Which version are you using? There is no more embed for gameboards in latest versions of the module.

@Liux71
Copy link
Author

Liux71 commented Dec 16, 2022

oh yeah you are right it doesent have an embed im sorry

@utarwyn
Copy link
Owner

utarwyn commented Dec 16, 2022

Np 👍 So, is it okay if I make the color of duel request embeds customizable?

@Liux71
Copy link
Author

Liux71 commented Dec 16, 2022

yeah it would fit better with the theme of my bot

@utarwyn utarwyn added this to the 3.x milestone Dec 17, 2022
@CyberJack10000
Copy link

@utarwyn how about a toggleable and customizable embed in the game

@utarwyn
Copy link
Owner

utarwyn commented Jan 19, 2023

This feature is now available in both versions 3.2.0 (discord.js v13) and 4.1.0 (discord.js v14).
Use the configuration key embedColor to customize color of embeds. (formats: [R, G, B] or "#HEX" or a number)

npm project page: https://www.npmjs.com/package/discord-tictactoe
Releases page: https://github.com/utarwyn/discord-tictactoe/releases

@utarwyn utarwyn closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

No branches or pull requests

3 participants