Skip to content

Commit a92bfac

Browse files
fix aws bot update issues
1 parent fd13f4a commit a92bfac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/bot/index.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
REST,
77
Routes,
88
Collection,
9+
RESTPostAPIApplicationCommandsJSONBody, // Add this
910
} from "discord.js";
1011
import * as dotenv from "dotenv";
1112
import * as path from "path";
@@ -64,7 +65,7 @@ declare module "discord.js" {
6465
!file.endsWith(".disabled")
6566
);
6667

67-
const commandsData: any[] = [];
68+
const commandsData: RESTPostAPIApplicationCommandsJSONBody[] = [];
6869

6970
for (const file of commandFiles) {
7071
try {

0 commit comments

Comments
 (0)