Skip to content

Commit

Permalink
update interaction type
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonejt committed Sep 10, 2023
1 parent fffb62b commit 39d4cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/discord.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Client, Collection, ClientOptions, ChatInputCommandInteraction } from "discord.js";
import { Client, Collection, ClientOptions } from "discord.js";

export interface Command {
data: unknown
execute: (interaction: ChatInputCommandInteraction) => Promise<void>
execute: (interaction: any) => Promise<void>

Check warning on line 5 in clients/discord.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type
}

export class SibylDiscordClient extends Client {
Expand Down

0 comments on commit 39d4cb0

Please sign in to comment.