文件名称:calendar-bot:适用于Web-standards-ru-calendar的电报机器人
文件大小:20KB
文件格式:ZIP
更新时间:2024-06-16 19:03:01
JavaScript
活动日历机器人 的最新事件发布到Telegram中的聊天中。 安装 npm install --save @web-standards-ru/calendar-bot 使用 在脚本中 const moment = require ( 'moment' ) ; const sendToChannel = require ( '@web-standards-ru/calendar-bot/tlgrm.js' ) ; const WSEvent = require ( '@web-standards-ru/calendar-bot/wsevent.js' ) ; sendToChannel ( WSEvent . fromYaml ( `name: Яндекс Субботник date: 10.12.2016 city: Москва link: https://events.yande
【文件预览】:
calendar-bot-master
----standalone.js(4KB)
----.gitignore(58B)
----tlgrm.js(4KB)
----package.json(821B)
----wsevent.js(4KB)
----package-lock.json(40KB)
----index.js(33B)
----send.js(799B)
----README.md(3KB)
----test()
--------test.js(5KB)
----.editorconfig(181B)