mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
more prefix related fixes
This commit is contained in:
parent
236b17255b
commit
6628fc3233
4 changed files with 46 additions and 8 deletions
|
@ -3,6 +3,7 @@ const { editOrReply } = require('../../../labscore/utils/message')
|
|||
|
||||
const superagent = require('superagent');
|
||||
const { codeblock } = require('../../../labscore/utils/markdown');
|
||||
const { DEFAULT_BOT_PREFIX } = require('../../../labscore/constants');
|
||||
|
||||
const SIZES = Object.freeze({
|
||||
"wallpaper": { x: 1120, y: 630},
|
||||
|
@ -80,11 +81,11 @@ module.exports = {
|
|||
})
|
||||
|
||||
res = JSON.parse(res.text)
|
||||
|
||||
|
||||
await response.edit({
|
||||
embeds: [
|
||||
createEmbed("default", context, {
|
||||
description: `${codeblock(`py`, [`${context.commandClient.prefixes.custom.first()}art -type ${args.type.toLowerCase()} -seed ${seed} -variance ${variance} -rotate ${rotate}`])}`,
|
||||
description: `${codeblock(`py`, [`${DEFAULT_BOT_PREFIX}art -type ${args.type.toLowerCase()} -seed ${seed} -variance ${variance} -rotate ${rotate}`])}`,
|
||||
image: {
|
||||
url: res.image_link
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue