mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
add openai logo
This commit is contained in:
parent
44ea5374d2
commit
dfa5c2e99e
3 changed files with 10 additions and 2 deletions
|
@ -9,6 +9,7 @@ const { Permissions } = require("detritus-client/lib/constants");
|
||||||
const { canUseLimitedTestCommands } = require('../utils/testing')
|
const { canUseLimitedTestCommands } = require('../utils/testing')
|
||||||
const { Regexes } = require('detritus-client/lib/utils/markup')
|
const { Regexes } = require('detritus-client/lib/utils/markup')
|
||||||
const { DiscordRegexNames } = require('detritus-client/lib/constants')
|
const { DiscordRegexNames } = require('detritus-client/lib/constants')
|
||||||
|
const { STATICS } = require('../../../labscore/utils/statics')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'chat',
|
name: 'chat',
|
||||||
|
@ -50,7 +51,8 @@ module.exports = {
|
||||||
return editOrReply(context, {embeds:[createEmbed("default", context, {
|
return editOrReply(context, {embeds:[createEmbed("default", context, {
|
||||||
description: description.join('\n').substr(),
|
description: description.join('\n').substr(),
|
||||||
footer: {
|
footer: {
|
||||||
text: `This information may be inaccurate or biased • ${context.application.name}`
|
text: `This information may be inaccurate or biased • ${context.application.name}`,
|
||||||
|
icon: STATICS.openai
|
||||||
}
|
}
|
||||||
})]})
|
})]})
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
|
|
@ -37,7 +37,8 @@ module.exports = {
|
||||||
return editOrReply(context, {embeds:[createEmbed("default", context, {
|
return editOrReply(context, {embeds:[createEmbed("default", context, {
|
||||||
description: codeblock("ansi", [res.body.output.substr(0, 2020)]),
|
description: codeblock("ansi", [res.body.output.substr(0, 2020)]),
|
||||||
footer: {
|
footer: {
|
||||||
text: `🗣🗣📢🔥🔥🔥🔥💯 • ${context.application.name}`
|
text: `🗣🗣📢🔥🔥🔥🔥💯 • ${context.application.name}`,
|
||||||
|
icon: STATICS.openai
|
||||||
}
|
}
|
||||||
})]})
|
})]})
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
|
|
@ -40,6 +40,10 @@ const Statics = Object.freeze({
|
||||||
file: "brands/makesweet.png",
|
file: "brands/makesweet.png",
|
||||||
revision: 0
|
revision: 0
|
||||||
},
|
},
|
||||||
|
openai: {
|
||||||
|
file: "brands/openai.png",
|
||||||
|
revision: 0
|
||||||
|
},
|
||||||
openweathermap: {
|
openweathermap: {
|
||||||
file: "brands/openweathermap.png",
|
file: "brands/openweathermap.png",
|
||||||
revision: 0
|
revision: 0
|
||||||
|
@ -119,6 +123,7 @@ module.exports.STATICS = Object.freeze({
|
||||||
inspirobot: staticAsset(Statics.brands.inspirobot),
|
inspirobot: staticAsset(Statics.brands.inspirobot),
|
||||||
labscore: staticAsset(Statics.brands.labscore),
|
labscore: staticAsset(Statics.brands.labscore),
|
||||||
makesweet: staticAsset(Statics.brands.makesweet),
|
makesweet: staticAsset(Statics.brands.makesweet),
|
||||||
|
openai: staticAsset(Statics.brands.openai),
|
||||||
openweathermap: staticAsset(Statics.brands.openweathermap),
|
openweathermap: staticAsset(Statics.brands.openweathermap),
|
||||||
perspectiveapi: staticAsset(Statics.brands.perspectiveapi),
|
perspectiveapi: staticAsset(Statics.brands.perspectiveapi),
|
||||||
photofunia: staticAsset(Statics.brands.photofunia),
|
photofunia: staticAsset(Statics.brands.photofunia),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue