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

Don't quote message content (closes #343) #346

Merged
merged 1 commit into from
Dec 28, 2023
Merged

Don't quote message content (closes #343) #346

merged 1 commit into from
Dec 28, 2023

Conversation

vcarl
Copy link
Member

@vcarl vcarl commented Dec 28, 2023

No description provided.

Copy link

what-the-diff bot commented Dec 28, 2023

PR Summary

  • Removal of quoteMessageContent function
    The function quoteMessageContent which existed in the discord helper module within the file jobs-moderation.ts, has been taken out. This was done to remove redundancy and prefer the direct use of message content.

  • Direct use of message.content
    The content property within the message object has been updated. It now uses message.content directly, making the code more efficient and minimizing the possibility of future issues.

@ghost
Copy link

ghost commented Dec 28, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@vcarl vcarl merged commit 09b4cc1 into main Dec 28, 2023
3 checks passed
@vcarl vcarl deleted the vc-dont-quote branch December 28, 2023 22:50
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.

1 participant