This commit is contained in:
Flummi
2020-10-15 13:02:56 +02:00
parent a01f19c644
commit b8ed192ea5
3 changed files with 44 additions and 21 deletions

View File

@@ -21,6 +21,13 @@ export default async bot => {
const user = e.message.trim().substring(7);
e.reply( JSON.stringify( getLevel( e.self.user.get(user) || {} ) ) );
}
}, {
name: "self",
call: /^!self$/i,
active: true,
f: e => {
e.reply( JSON.stringify( e.user ) );
}
}, {
name: "sandbox_debug",
call: /^\!debug (.*)/i,