diff --git a/src/commands/botlog.ts b/src/commands/botlog.ts index 7c56dc1..0fb07bb 100644 --- a/src/commands/botlog.ts +++ b/src/commands/botlog.ts @@ -3,7 +3,7 @@ import { TClient } from 'src/client'; export default { async run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){ if (!client.config.eval.whitelist.includes(interaction.user.id)) return client.youNeedRole(interaction, 'bottech'); - (client.channels.resolve(client.config.mainServer.channels.console) as Discord.TextChannel).send({content: `Uploaded the current console dump as of `, files: ['../../.pm2/logs/Daggerbot-out.log']}) + (client.channels.resolve(client.config.mainServer.channels.console) as Discord.TextChannel).send({content: `Uploaded the current console dump as of `, files: ['../../.pm2/logs/Daggerbot-out-0.log']}) await interaction.reply('It has been uploaded to dev server.') }, data: new SlashCommandBuilder()