Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An issue with audit log feature #1187

Open
efefixim opened this issue Jun 8, 2024 · 2 comments
Open

An issue with audit log feature #1187

efefixim opened this issue Jun 8, 2024 · 2 comments
Labels
Feature Request a new feature

Comments

@efefixim
Copy link

efefixim commented Jun 8, 2024

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 efefixim added the Feature Request a new feature label Jun 8, 2024
@aiko-chan-ai
Copy link
Owner

{
  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
Copy link
Owner

wdym

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants