#How can I make a limit how often a command can be executed?

1 messages · Page 1 of 1 (latest)

cobalt jackal
#

I'd like o make a command that every user can only execute every hour. Is there some structure already available?

bright thicket
#

You can create a context check to do that

thick heraldBOT
#

DSharpPlus.Commands.ContextChecks.IContextCheck`1

Summary

Represents a base interface for context checks to implement.

Declaration

public abstract interface IContextCheck<TAttribute> : IContextCheck
bright thicket
#

this

cobalt jackal
#

top