fix(SupportHelper): make update button check case-insensitive (#3939)

This commit is contained in:
Dog 2026-01-27 03:54:44 +00:00 • committed by GitHub
parent f32b68e373
commit 2ffa14fe2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,7 +243,7 @@ export default definePlugin({
(props.channel.id === KNOWN_ISSUES_CHANNEL_ID) ||
(props.channel.parent_id === SUPPORT_CATEGORY_ID && props.message.author.id === VENBOT_USER_ID)
)
&& props.message.content?.includes("update");
&& props.message.content?.toLowerCase().includes("update");
if (shouldAddUpdateButton) {
buttons.push(