deploy test command

This commit is contained in:
bignutty 2024-06-08 01:32:16 +02:00
parent 02f165d008
commit 3c087fd648
2 changed files with 24 additions and 0 deletions

View 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");
}
};

View file

@ -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"
} }
} }