3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 20:35:02 +00:00

Add repeat options for scheduled posts

This commit is contained in:
Dragory 2019-12-01 23:23:34 +02:00
parent 646156344a
commit 2ff65e89fd
7 changed files with 320 additions and 113 deletions

View file

@ -22,5 +22,14 @@ export class ScheduledPost {
@Column() post_at: string;
/**
* How often to post the message, in milliseconds
*/
@Column() repeat_interval: number;
@Column() repeat_until: string;
@Column() repeat_times: number;
@Column() enable_mentions: boolean;
}