How many messages contain a particular word?

Count the number of messages in a Discord channel that contain a specific word.

Run this query

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

anyquery run how_many_messages_contain_a_particular_word

Arguments

Channel ID

The ID of the channel to search messages in.

Word

The word to search for in messages.

Additional informations

Source code Author

Tip

To run a hub query on a different account, you can create a new profile using the anyquery profile create command. For example, let's say you have two GitHub accounts, run anyquery profile create github to authenticate with the second account. Next time you run a query, Anyquery will prompt you to select the profile to use.