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

feat: Add way to send system messages to ChatProviderService #520

Merged
merged 6 commits into from
Nov 20, 2024

Conversation

unrooot
Copy link
Collaborator

@unrooot unrooot commented Nov 14, 2024

I needed to send colored system messages for the game I'm working on, but in order to do this you have to hook into TextChatService.OnIncomingMessage, which can only have one implementation on the client per game. I added the method ChatProviderServiceClient:SendSystemMessage(channel, message, color) to solve this.

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @quenty/chatproviderservice@9.19.0-canary.520.49fdd74.0
# or 
yarn add @quenty/chatproviderservice@9.19.0-canary.520.49fdd74.0

@unrooot unrooot self-assigned this Nov 14, 2024
Copy link
Owner

@Quenty Quenty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall!

@unrooot unrooot merged commit 3027bdf into main Nov 20, 2024
3 checks passed
Copy link

🚀 PR was released in @quenty/chatproviderservice@9.19.0 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants