├── .env-typings.d.ts ├── .env.example ├── .gitignore ├── .vscode └── settings.json ├── FUNDING.json ├── LICENSE ├── README.md ├── actions ├── ask-to-expand.ts ├── delete-message.ts ├── expand-link.ts ├── get-member-count.ts ├── missing-permissions.ts └── show-bot-activity.ts ├── callbacks ├── destruct-expanded-link.ts ├── index.ts ├── manual-expand.ts ├── settings-autoexpand.ts ├── settings-changelog.ts ├── settings-lock.ts ├── settings-permissions.ts └── undo.ts ├── commands ├── autoexpand.ts ├── changelog.ts ├── index.ts ├── lock.ts ├── permissions.ts ├── source.ts └── start.ts ├── helpers ├── admin.ts ├── analytics.ts ├── api.ts ├── banned.ts ├── button-states.ts ├── cache.ts ├── hacker-news-metadata.ts ├── instagram-share.ts ├── link-regex.ts ├── notifier.ts ├── og-metadata.ts ├── platforms.ts ├── redis.ts └── templates.ts ├── index.ts ├── link-listener-channel.ts ├── link-listener.ts ├── middleware └── error-handler.ts ├── package.json └── yarn.lock /.env-typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/.env-typings.d.ts -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dotenv.enableAutocloaking": false 3 | } 4 | -------------------------------------------------------------------------------- /FUNDING.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/FUNDING.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/README.md -------------------------------------------------------------------------------- /actions/ask-to-expand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/actions/ask-to-expand.ts -------------------------------------------------------------------------------- /actions/delete-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/actions/delete-message.ts -------------------------------------------------------------------------------- /actions/expand-link.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/actions/expand-link.ts -------------------------------------------------------------------------------- /actions/get-member-count.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/actions/get-member-count.ts -------------------------------------------------------------------------------- /actions/missing-permissions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/actions/missing-permissions.ts -------------------------------------------------------------------------------- /actions/show-bot-activity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/actions/show-bot-activity.ts -------------------------------------------------------------------------------- /callbacks/destruct-expanded-link.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/destruct-expanded-link.ts -------------------------------------------------------------------------------- /callbacks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/index.ts -------------------------------------------------------------------------------- /callbacks/manual-expand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/manual-expand.ts -------------------------------------------------------------------------------- /callbacks/settings-autoexpand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/settings-autoexpand.ts -------------------------------------------------------------------------------- /callbacks/settings-changelog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/settings-changelog.ts -------------------------------------------------------------------------------- /callbacks/settings-lock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/settings-lock.ts -------------------------------------------------------------------------------- /callbacks/settings-permissions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/settings-permissions.ts -------------------------------------------------------------------------------- /callbacks/undo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/callbacks/undo.ts -------------------------------------------------------------------------------- /commands/autoexpand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/autoexpand.ts -------------------------------------------------------------------------------- /commands/changelog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/changelog.ts -------------------------------------------------------------------------------- /commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/index.ts -------------------------------------------------------------------------------- /commands/lock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/lock.ts -------------------------------------------------------------------------------- /commands/permissions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/permissions.ts -------------------------------------------------------------------------------- /commands/source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/source.ts -------------------------------------------------------------------------------- /commands/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/commands/start.ts -------------------------------------------------------------------------------- /helpers/admin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/admin.ts -------------------------------------------------------------------------------- /helpers/analytics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/analytics.ts -------------------------------------------------------------------------------- /helpers/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/api.ts -------------------------------------------------------------------------------- /helpers/banned.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/banned.ts -------------------------------------------------------------------------------- /helpers/button-states.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/button-states.ts -------------------------------------------------------------------------------- /helpers/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/cache.ts -------------------------------------------------------------------------------- /helpers/hacker-news-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/hacker-news-metadata.ts -------------------------------------------------------------------------------- /helpers/instagram-share.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/instagram-share.ts -------------------------------------------------------------------------------- /helpers/link-regex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/link-regex.ts -------------------------------------------------------------------------------- /helpers/notifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/notifier.ts -------------------------------------------------------------------------------- /helpers/og-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/og-metadata.ts -------------------------------------------------------------------------------- /helpers/platforms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/platforms.ts -------------------------------------------------------------------------------- /helpers/redis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/redis.ts -------------------------------------------------------------------------------- /helpers/templates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/helpers/templates.ts -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/index.ts -------------------------------------------------------------------------------- /link-listener-channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/link-listener-channel.ts -------------------------------------------------------------------------------- /link-listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/link-listener.ts -------------------------------------------------------------------------------- /middleware/error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/middleware/error-handler.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/package.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugson/telegram-twitter-url-expand-bot/HEAD/yarn.lock --------------------------------------------------------------------------------