How many messages were sent by a particular user in a channel?

Count the number of messages sent by a specific user in a particular channel on Discord.

Run this query

To run this query, you can use the following command:

anyquery run how_many_messages_were_sent_by_a_particular_user_in_a_channel <channel_id> <user_id>

Arguments

Channel ID

The ID of the Discord channel

User ID

The ID of the user

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.