Skip to content

Commit

Permalink
chore(deps): update dependency @biomejs/biome to v1.5.0 (#29)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency @biomejs/biome to v1.5.0

* chore: enable files.ignoreUnknown in biome.json

* fix: run biome

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: risu729 <[email protected]>
  • Loading branch information
renovate[bot] and risu729 authored Jan 9, 2024
1 parent f56a337 commit c69b874
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
3 changes: 3 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true
},
"formatter": {
"formatWithErrors": true
},
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"normalize-url": "8.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.4.1",
"@biomejs/biome": "1.5.0",
"@tsconfig/bun": "1.0.1",
"@tsconfig/strictest": "2.0.2",
"bun-types": "1.0.21",
Expand Down
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 c69b874

Please sign in to comment.