mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-11 15:14:52 +09:00
1.0.5 RC1
This commit is contained in:
1 parent
e99d52b0a3
commit
faa6751c3f
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ export default async function(context: InstancePluginContext) {
|
||||
const p = (n: number) => String(n).padStart(2, '0');
|
||||
const dt = `${now.getFullYear()}${p(now.getMonth() + 1)}${p(now.getDate())} ${p(now.getHours())}${p(now.getMinutes())}${p(now.getSeconds())}`;
|
||||
const action = output.action;
|
||||
const message = output.message.trim();
|
||||
let message = output.message.trim();
|
||||
|
||||
if (action === 'CHAT' || action === 'SHOUT') {
|
||||
message = message.replace(/\[special-item=.*?\]/g, '<blueprint>').replace(/<@/g, '<@\u200c>');
|
||||
|
||||
Reference in new issue
Block a user