mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
asdf6
This commit is contained in:
parent
a7628f0a7e
commit
1a0067cca9
@ -7,7 +7,7 @@ object DiscordRatelimits {
|
|||||||
return rateLimit.remainin == 0
|
return rateLimit.remainin == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getRateReset() = rateLimit.resetAfter * 1000L
|
fun getRateReset() = rateLimit.resetAfter * 1000L + 300L
|
||||||
|
|
||||||
private fun setRateLimit(rateLimit: RateLimit) {
|
private fun setRateLimit(rateLimit: RateLimit) {
|
||||||
this.rateLimit = rateLimit
|
this.rateLimit = rateLimit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user