Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Template repository for creating a clone-able bot on telegram using grammY telegram bot library.

License

NotificationsYou must be signed in to change notification settings

xditya/GrammyCloneableBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template repository for making clone-able telegram bots usinggrammY telegram bot library.

Variables

  • BOT_TOKEN - A telegram bot token (for testing the bot when hosted locally).
  • WEBHOOK_PATH - The path to point the webhook domain to, eg: setting it asCloneBot would point the webhook tohttps://<your-deploy-domain>/CloneBot?token=<token>.

Setting up

This repository can be deployed and tested right out of the box.

  1. Deploy it on dash.deno.com (or wherever, just run it using webhooks).
  2. Set the webhook for your main bot:https://api.telegram.org/bot<token>/setWebhook?url=https://<your-deploy-domain>/<WEBHOOK_PATH>?token=<token>.
  3. Open the bot on telegram, it should now be responding to/start.
  4. Forward a message with a bot's token from@BotFather to this bot and wait for the confirmation message!

In addition to that, you can test the bot locally using deno tasks:deno task test.

Credits

About

Template repository for creating a clone-able bot on telegram using grammY telegram bot library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp