Exemple #1
0
def long_cooldown(f):
    return commands.cooldown(rate=1, per=20.0,
                             type=commands.BucketType.user)(f)
Exemple #2
0
def short_cooldown(f):
    return commands.cooldown(rate=5, per=20.0,
                             type=commands.BucketType.user)(f)
Exemple #3
0
def default_cooldown(f):
    return commands.cooldown(rate=5, per=30.0,
                             type=commands.BucketType.user)(f)