fix(SupportHelper): make update button check case-insensitive (#3939)
This commit is contained in:
parent
f32b68e373
commit
2ffa14fe2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue