mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
added notice on calendar event
This commit is contained in:
parent
65070fd2eb
commit
85a2bf0dd9
1 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,11 @@ export class PostNewCalendarHandler extends VkEventHandler {
|
||||||
// TODO: event is deeply in future, like 2 months or more
|
// TODO: event is deeply in future, like 2 months or more
|
||||||
|
|
||||||
const end = addMinutes(start, 15);
|
const end = addMinutes(start, 15);
|
||||||
const description = [this.generateVkPostUrl(context.wall.id), maybeTrim(text, 512)].join('\n\n');
|
const description = [
|
||||||
|
'Пожалуйста, проверьте дату и время в посте:',
|
||||||
|
this.generateVkPostUrl(context.wall.id),
|
||||||
|
maybeTrim(text, 512),
|
||||||
|
].join('\n\n');
|
||||||
|
|
||||||
// TODO: event exist and summary contains "отмен" --> delete post
|
// TODO: event exist and summary contains "отмен" --> delete post
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue