Skip to content

Commit

Permalink
fix: run biome
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Jan 9, 2024
1 parent 04b1a13 commit b8140c2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/checks.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { env } from "bun";
import { consola } from "consola";
import {
Client,
type Client,
OAuth2Scopes,
PermissionFlagsBits,
PermissionsBitField,
Expand Down
2 changes: 1 addition & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { consola } from "consola";
import {
ApplicationCommandType,
type ChatInputCommandInteraction,
Client,
type Client,
ContextMenuCommandBuilder,
type Interaction,
type MessageContextMenuCommandInteraction,
Expand Down
14 changes: 8 additions & 6 deletions src/embeds.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { drive_v3 } from "@googleapis/drive";
import type { drive_v3 } from "@googleapis/drive";
import { deepMatch, sleep } from "bun";
import {
EmbedBuilder,
Message,
MessageCreateOptions,
MessageEditOptions,
type Message,
type MessageCreateOptions,
type MessageEditOptions,
MessageFlags,
MessageFlagsBitField,
PartialMessage,
type PartialMessage,
isJSONEncodable,
} from "discord.js";
import { GaxiosError } from "gaxios";
Expand Down Expand Up @@ -48,7 +48,9 @@ const retrieveOldEmbedsMessage = async (
const {
channel,
id: sourceId,
client: { user: { id: botUserId } },
client: {
user: { id: botUserId },
},
} = message;

const history = await channel.messages.fetch({
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
Client,
Events,
GatewayIntentBits,
Message,
type Message,
MessageFlags,
PartialMessage,
type PartialMessage,
Partials,
} from "discord.js";
import { checkBotStatus, checkEnvs } from "./checks";
Expand Down

0 comments on commit b8140c2

Please sign in to comment.