Update alias.js

This commit is contained in:
bietiaop 2024-08-20 15:51:24 +08:00 committed by GitHub
parent 94ae2b5183
commit 8cf9ffeff4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ export async function addAlias() {
export async function deleteAlias() { export async function deleteAlias() {
if (!this.e.isMaster) { if (!this.e.isMaster) {
this.reply('仅限主人设置'); this.reply('仅限主人设置', false, { at: true, recallMsg: 100 });
return false; return false;
} }
const match = /删除别名(\S+)$/g.exec(this.e.msg); const match = /删除别名(\S+)$/g.exec(this.e.msg);