擅长:python、mysql、java
<p>你在找这个吗</p>
<pre><code>#time in seconds.
@commands.cooldown(1, int(time), commands.cooldowns.BucketType.guild)
</code></pre>
<p><a href="https://www.programcreek.com/python/example/107225/discord.ext.commands.cooldown" rel="nofollow noreferrer">Source</a></p>