mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-07-05 18:17:26 -05:00
Skip if already posted
This commit is contained in:
parent
8c1bb01f29
commit
2530dcba0d
|
|
@ -58,6 +58,11 @@ class TwitterPostBase {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!this.shouldPostForCurrentTime(client)) {
|
||||
this.info(`Already posted to ${client.name}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
try {
|
||||
await client.send(status);
|
||||
this.updateLastTweetTime(client);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user