Skip to content

Commit

Permalink
fix(bot): description length
Browse files Browse the repository at this point in the history
  • Loading branch information
shayypy committed Mar 2, 2024
1 parent f354bd8 commit 2d4114a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/bot/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export const appCommands: Record<
type: ApplicationCommandOptionType.Subcommand,
name: "close",
description:
"Close this gameday thread and send a summary message. This will reveal the score in the parent channel.",
"Close this gameday thread & send a summary. This will reveal the score in the parent channel.",
},
],
handlers: {
Expand Down
17 changes: 3 additions & 14 deletions packages/bot/src/cron.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import {
ActionRowBuilder,
ButtonBuilder,
EmbedBuilder,
time,
} from "@discordjs/builders";
import { EmbedBuilder, time } from "@discordjs/builders";
import { REST } from "@discordjs/rest";
import {
APIMessage,
ButtonStyle,
ChannelType,
Routes,
} from "discord-api-types/v10";
import { APIMessage, ChannelType, Routes } from "discord-api-types/v10";
import { eq } from "drizzle-orm";
import {
GCGamePlayByPlay,
Expand Down Expand Up @@ -43,8 +33,7 @@ import {
import { HockeyTechLeague, getHtClient, getPointsPct } from "./ht/client";
import { htPlayerImageUrl } from "./ht/player";
import { getHtTeamLogoUrl } from "./ht/team";
import { ThreadsItemPost } from "./types/threads";
import { colors, getTeamColor } from "./util/colors";
import { getTeamColor } from "./util/colors";
import { getTeamEmoji } from "./util/emojis";
import { ExternalUtils, getExternalUtils } from "./util/external";
import { toHMS } from "./util/time";
Expand Down

0 comments on commit 2d4114a

Please sign in to comment.