mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-11 15:43:03 -04:00
remove permission
This commit is contained in:
parent
627c0877bb
commit
db477d7a49
1 changed files with 27 additions and 26 deletions
|
@ -45,7 +45,6 @@ module.exports = {
|
|||
limit: 1,
|
||||
duration: 5000
|
||||
},
|
||||
permissionsClient: [Permissions.MANAGE_MESSAGES],
|
||||
run: async (context, args) => {
|
||||
await context.triggerTyping();
|
||||
|
||||
|
@ -59,13 +58,15 @@ module.exports = {
|
|||
|
||||
let perspectiveApi = await perspective(context, [args.input])
|
||||
|
||||
return await editOrReply(context, { embeds: [createEmbed("default", context, {
|
||||
return await editOrReply(context, {
|
||||
embeds: [createEmbed("default", context, {
|
||||
description: `${msg}${iconPill("rules", "Scores")} ${codeblock("ansi", formatPerspectiveScores(perspectiveApi.response.body))}`,
|
||||
footer: {
|
||||
iconUrl: STATICS.perspectiveapi,
|
||||
text: `Perspective • ${context.application.name}`
|
||||
}
|
||||
})] })
|
||||
})]
|
||||
})
|
||||
} catch (e) {
|
||||
await editOrReply(context, { embeds: [createEmbed("error", context, `Something went wrong.`)] })
|
||||
console.log(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue