Typo fix
This commit is contained in:
parent
9d79508687
commit
e7f971ccd8
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ impl Bot {
|
||||||
|
|
||||||
pub(crate) fn idle(&self) {
|
pub(crate) fn idle(&self) {
|
||||||
let mut sleep_duration = chrono::Duration::seconds(30);
|
let mut sleep_duration = chrono::Duration::seconds(30);
|
||||||
if Utc::now().time() - self.start_time.time() < sleep_duation {
|
if Utc::now().time() - self.start_time.time() < sleep_duration {
|
||||||
sleep_duration = chrono::Duration::seconds(60);
|
sleep_duration = chrono::Duration::seconds(60);
|
||||||
}
|
}
|
||||||
while Utc::now().time() - self.start_time.time() < sleep_duration {
|
while Utc::now().time() - self.start_time.time() < sleep_duration {
|
||||||
|
|
Loading…
Reference in a new issue