From f2dcf9233d16d31e2e514945e87a1db4299ed656 Mon Sep 17 00:00:00 2001 From: Toast <96593068+AnxietyisReal@users.noreply.github.com> Date: Tue, 12 Dec 2023 22:00:12 +1100 Subject: [PATCH] Push uncommitted changes to repository --- src/config.json | 4 ++-- src/funcs/HookManager.ts | 2 +- src/funcs/ResponseModule.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.json b/src/config.json index eb4a00a..6733946 100644 --- a/src/config.json +++ b/src/config.json @@ -1,6 +1,6 @@ { "configName": "Daggerbot", - "embedColor": "#0052cf", + "embedColor": "#FFFFFF", "embedColorBackup": "#0052cf", "embedColorGreen": "#57f287", "embedColorOrange": "#cc5210", @@ -34,7 +34,7 @@ }, "botPresence": { "activities": [ - {"name": "Today is November!", "url": "https://www.youtube.com/watch?v=y242XIPPykg", "type": 1} + {"name": "Today is December!", "url": "https://www.youtube.com/watch?v=uimgSQE1Vnc", "type": 1} ], "status": "online" }, diff --git a/src/funcs/HookManager.ts b/src/funcs/HookManager.ts index 9a6e250..6b9826d 100644 --- a/src/funcs/HookManager.ts +++ b/src/funcs/HookManager.ts @@ -18,6 +18,6 @@ export default class HookMgr { } static async edit(client:TClient, channel:ChannelList, webhookId:Discord.Snowflake, messageId:Discord.Snowflake, message:string|Discord.MessagePayload|Discord.WebhookMessageEditOptions) { const hook = await this.fetch(client, channel, webhookId); - return hook.editMessage(messageId, message).catch(err=>(client.channels.resolve(config.mainServer.channels.errors) as Discord.TextChannel).send(`Failed to edit a webhook message in <#${channel}>:\n\`\`\`\n${err.message}\n\`\`\``)); + return hook.editMessage(messageId, message).catch(err=>(client.channels.resolve(config.mainServer.channels.errors) as Discord.TextChannel).send(`Failed to edit a webhook message in #${channel}:\n\`\`\`\n${err.message}\n\`\`\``)); } } diff --git a/src/funcs/ResponseModule.ts b/src/funcs/ResponseModule.ts index 7900a16..9adee94 100644 --- a/src/funcs/ResponseModule.ts +++ b/src/funcs/ResponseModule.ts @@ -8,7 +8,7 @@ import FormatDOTY from '../helpers/FormatDOTY.js'; export default class Response { private static readonly incomingArrays = { - morning: ['good morning all', 'good morning everyone', 'good morning lads', 'morning all', 'morning everyone', 'morning lads', 'morning guys', 'good morning everybody', 'morning yall', 'morning y\'all', 'good morning my neighbors'], + morning: ['good morning all', 'good morning everyone', 'good morning lads', 'morning all', 'morning everyone', 'morning lads', 'morning guys', 'good morning everybody', 'morning yall', 'morning y\'all', 'good morning my neighbors', 'good morning yall', 'good morning y\'all'], afternoon: ['good afternoon', 'afternoon all', 'afternoon everyone'], evening: ['good evening', 'evening all', 'evening everyone', 'evening lads'], night: ['night all', 'night everyone', 'night guys', 'goodnight', 'good night']