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

Refactor handleMessageCreate to improve message content matching #12

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

k-taro56
Copy link
Contributor

@k-taro56 k-taro56 commented Jun 1, 2024

This pull request refactors the handleMessageCreate function in the index.ts file to improve the message content matching. It adds a new function called sasudaiReaction that reacts to specific messages with emojis. It also updates the handleMessageCreate function to handle different types of messages and replies accordingly. This refactor improves the overall functionality and readability of the code.

@k-taro56 k-taro56 enabled auto-merge June 1, 2024 16:47
@k-taro56 k-taro56 self-assigned this Jun 1, 2024
Copy link

codecov bot commented Jun 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7fb666a) to head (8f0a17b).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           57        57           
  Branches        11        11           
=========================================
  Hits            57        57           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@k-taro56 k-taro56 merged commit 2a63fac into main Jun 2, 2024
8 checks passed
@k-taro56 k-taro56 deleted the feat/more-reaction-daihyo branch June 2, 2024 12:54
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

Successfully merging this pull request may close these issues.

2 participants