How to make Nightbot automatically send how many times my chat uses a word

Asked Mar 4, 2023·1 reply·Last activity 3 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I want nightbot to automatically send a message like this one whenever someone in my chat uses the word "Inmunda" :

"SpiryDz has been called "Inmunda" X times"

I know a channel that uses this trick and i think it is so cool. The channel is Emikukis and her word is Sumisa. You can try out.

1 reply

Hey @Urban Llama!

This will only work if the word is the first word of the message, outside of Spam Protection, Nighbtot only look at what comes after the first word if the first word itself is a command name, it can't detect a word in the middle of a sentence and execute a command based on that.

!addcom inmunda $(channel) has been called "Inmunda" $(count) times

Please use the search bar before opening a new topic:
/t/word-counter-for-chat/1534639181068894208#m1534639182830506065