Command that finds the count of another comnand

Asked Oct 4, 2020·1 reply·Last activity 5 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 made a command that finds the count of the command that looked like“!addcom !cannons $(count) cannons have boomed”.... how do I find the count of the command without adding to the command?

1 reply

Make two command one that edits it one that counts that’s only for moderators

Public command

!addcom !cannon x Cannons have boomed

Moderator only command

!addcom !addcannon -ul=moderator -a=!editcom !cannon $(count) Cannons have boomed.