mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
deploy test command
This commit is contained in:
parent
02f165d008
commit
3c087fd648
2 changed files with 24 additions and 0 deletions
21
commands/message/dev/test.js
Normal file
21
commands/message/dev/test.js
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
const { prideborder } = require("#api");
|
||||||
|
const { editOrReply } = require("../../../labscore/utils/message");
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
label: "text",
|
||||||
|
name: "test",
|
||||||
|
metadata: {
|
||||||
|
description: 'test.',
|
||||||
|
description_short: 'test',
|
||||||
|
examples: ['test'],
|
||||||
|
category: 'dev',
|
||||||
|
usage: 'test'
|
||||||
|
},
|
||||||
|
onBefore: context => context.user.isClientOwner,
|
||||||
|
onCancel: ()=>{},
|
||||||
|
run: async (context, args) => {
|
||||||
|
await context.triggerTyping();
|
||||||
|
const a = await prideborder(context, "https://cdn.discordapp.com/emojis/1145727546747535412.png?size=4096")
|
||||||
|
editOrReply(context, "ok");
|
||||||
|
}
|
||||||
|
};
|
|
@ -17,5 +17,8 @@
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"express": "^4.18.1",
|
"express": "^4.18.1",
|
||||||
"superagent": "^7.1.1"
|
"superagent": "^7.1.1"
|
||||||
|
},
|
||||||
|
"imports": {
|
||||||
|
"#api": "./labscore/api/index.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue