From dfa5c2e99ee01ae7a15f77c96a30975a0b3254fe Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Thu, 10 Aug 2023 23:34:09 +0200 Subject: [PATCH] add openai logo --- commands/message/fun/chat.js | 4 +++- commands/message/fun/disstrack.js | 3 ++- labscore/utils/statics.js | 5 +++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/commands/message/fun/chat.js b/commands/message/fun/chat.js index eae09a6..38e9956 100644 --- a/commands/message/fun/chat.js +++ b/commands/message/fun/chat.js @@ -9,6 +9,7 @@ const { Permissions } = require("detritus-client/lib/constants"); const { canUseLimitedTestCommands } = require('../utils/testing') const { Regexes } = require('detritus-client/lib/utils/markup') const { DiscordRegexNames } = require('detritus-client/lib/constants') +const { STATICS } = require('../../../labscore/utils/statics') module.exports = { name: 'chat', @@ -50,7 +51,8 @@ module.exports = { return editOrReply(context, {embeds:[createEmbed("default", context, { description: description.join('\n').substr(), 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){ diff --git a/commands/message/fun/disstrack.js b/commands/message/fun/disstrack.js index d0ff5fb..0d10950 100644 --- a/commands/message/fun/disstrack.js +++ b/commands/message/fun/disstrack.js @@ -37,7 +37,8 @@ module.exports = { return editOrReply(context, {embeds:[createEmbed("default", context, { description: codeblock("ansi", [res.body.output.substr(0, 2020)]), footer: { - text: `🗣🗣📢🔥🔥🔥🔥💯 • ${context.application.name}` + text: `🗣🗣📢🔥🔥🔥🔥💯 • ${context.application.name}`, + icon: STATICS.openai } })]}) }catch(e){ diff --git a/labscore/utils/statics.js b/labscore/utils/statics.js index c9beaa6..38f9eea 100644 --- a/labscore/utils/statics.js +++ b/labscore/utils/statics.js @@ -40,6 +40,10 @@ const Statics = Object.freeze({ file: "brands/makesweet.png", revision: 0 }, + openai: { + file: "brands/openai.png", + revision: 0 + }, openweathermap: { file: "brands/openweathermap.png", revision: 0 @@ -119,6 +123,7 @@ module.exports.STATICS = Object.freeze({ inspirobot: staticAsset(Statics.brands.inspirobot), labscore: staticAsset(Statics.brands.labscore), makesweet: staticAsset(Statics.brands.makesweet), + openai: staticAsset(Statics.brands.openai), openweathermap: staticAsset(Statics.brands.openweathermap), perspectiveapi: staticAsset(Statics.brands.perspectiveapi), photofunia: staticAsset(Statics.brands.photofunia),