mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-05-06 12:16:40 +07:00
added calendar service
This commit is contained in:
parent
0b663fb96f
commit
6e34090f8f
31 changed files with 1359 additions and 200 deletions
src/utils/text
1
src/utils/text/maybeTrim.ts
Normal file
1
src/utils/text/maybeTrim.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export const maybeTrim = (text: string, maxChars: number) => text.length > maxChars ? `${text.slice(0, maxChars)}...` : text;
|
Loading…
Add table
Add a link
Reference in a new issue