Skip to content

Commit

Permalink
Announcements: Allow editing to be multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV authored Jan 30, 2024
1 parent 47268be commit 059365d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/chat-plugins/announcements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const commands: Chat.ChatCommands = {
};

process.nextTick(() => {
Chat.multiLinePattern.register('/announcement (new|create|htmlcreate) ');
Chat.multiLinePattern.register('/announcement (new|create|htmlcreate|edit|htmledit) ');
});

// should handle restarts and also hotpatches
Expand Down

0 comments on commit 059365d

Please sign in to comment.