Skip to content

Commit

Permalink
Some lingering changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Nov 23, 2024
1 parent 9799f1a commit 855cf6e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/command-abstractions/text-based-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class TextBasedCommand {
public readonly name: string;
public command_descriptor: BotTextBasedCommand<unknown[]>;
private readonly wheatley: Wheatley;
private readonly reply_object: Discord.ChatInputCommandInteraction | Discord.Message;
private readonly reply_object: Discord.ChatInputCommandInteraction | Discord.Message; // TODO: Rename?

public guild: Discord.Guild | null;
public readonly guild_id: string | null;
Expand Down
7 changes: 7 additions & 0 deletions src/components/utility-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ export default class UtilityTools extends BotComponent {
}
}
await message.reply("Done");
} else if (message.content == "!xxx") {
const logs = await this.wheatley.TCCPP.fetchAuditLogs({
limit: 10,
type: Discord.AuditLogEvent.MessageDelete,
});
M.log(logs);
await message.reply("Done");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"incremental": true,
"skipLibCheck": true,
},
"exclude": ["node_modules", "build", "indexes/"]
"exclude": ["node_modules", "build", "indexes/", "dyno-logs", "indexes", "scripts"]
}

0 comments on commit 855cf6e

Please sign in to comment.