diff --git a/src/index.js b/src/index.js index aeb1831..83cb4b1 100644 --- a/src/index.js +++ b/src/index.js @@ -218,7 +218,7 @@ bot.once("ready", async () => { commands.push(formattedCommand); } - await this.requestHandler.request( + await bot.requestHandler.request( "PUT", `/applications/${bot.application.id}/commands`, true,