Skip to content

Commit

Permalink
fix: send delete records into logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuffedNewt committed Aug 7, 2024
1 parent f5006be commit df26032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/DiscordBot.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function handle() {
} else {
$oldContent = Cache::get('message_'.$message->id, 'Unknown Content (Cache Expired)');
}
$channel = $discord->getChannel($message->channel_id);
$channel = $discord->getChannel(config('lorekeeper.discord_bot.log_channel_id'));
$embed = new Embed($discord);
$embed->setTitle('Message Deleted')
->setColor(0xFF0000)
Expand Down

0 comments on commit df26032

Please sign in to comment.