Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyvy-vi committed Aug 1, 2022
1 parent 086059f commit 778a460
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/discord-bot/src/handlers/forward.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PraiseModel } from 'api/dist/praise/entities';
import { Message, GuildMember, Util } from 'discord.js';
import { GuildMember, Util } from 'discord.js';
import { UserModel } from 'api/dist/user/entities';
import { EventLogTypeKey } from 'api/src/eventlog/types';
import { logEvent } from 'api/src/eventlog/utils';
Expand Down Expand Up @@ -181,7 +181,7 @@ export const forwardHandler: CommandHandler = async (
? await interaction.editReply(await selfPraiseWarning())
: await interaction.editReply(await invalidReceiverError());

let warningMsg =
const warningMsg =
(receiverData.undefinedReceivers
? (await undefinedReceiverWarning(
receiverData.undefinedReceivers.join(', '),
Expand Down
4 changes: 2 additions & 2 deletions packages/discord-bot/src/handlers/praise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PraiseModel } from 'api/dist/praise/entities';
import { EventLogTypeKey } from 'api/src/eventlog/types';
import { logEvent } from 'api/src/eventlog/utils';
import logger from 'jet-logger';
import { GuildMember, Message, User, Util } from 'discord.js';
import { GuildMember, User, Util } from 'discord.js';
import { settingValue } from 'api/dist/shared/settings';
import {
dmError,
Expand Down Expand Up @@ -155,7 +155,7 @@ export const praiseHandler: CommandHandler = async (
? await interaction.editReply(await selfPraiseWarning())
: await interaction.editReply(await invalidReceiverError());

let warningMsg =
const warningMsg =
(receiverData.undefinedReceivers
? (await undefinedReceiverWarning(
receiverData.undefinedReceivers
Expand Down

0 comments on commit 778a460

Please sign in to comment.