mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-20 09:24:15 -05:00
Skip if already posted
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user