discord.js-selfbot-v13 icon indicating copy to clipboard operation
discord.js-selfbot-v13 copied to clipboard

An issue with audit log feature

Open efefixim opened this issue 1 year ago • 2 comments

Which package is the feature request for?

The core library

Feature

The problem with AuditLog is that it doesn't accurately display the count of messages. For instance, if you delete multiple messages, it only updates the same audit log with numbers like "2", "3", "4", indicating the quantity of messages deleted. However, the AuditLog function fails to provide any detailed count of the deleted messages.

Annotation 2024-06-08 091435

Ideal solution or implementation

Add count.

Alternative solutions or implementations

No response

Other context

No response

efefixim avatar Jun 08 '24 06:06 efefixim

{
  channel: <ref *1> TextChannel {},
  count: 5
}
	const e = await client.guilds.cache
		.get('id')
		.fetchAuditLogs({
			user: 'id',
			type: 72, // Delete msg
		});
	console.log(e.entries.first().extra);

image

aiko-chan-ai avatar Jun 17 '24 14:06 aiko-chan-ai

wdym

aiko-chan-ai avatar Jun 17 '24 14:06 aiko-chan-ai