Hey, This Is Feedback Bot Made By Using JavaScript And Made to deploy on cloudflare by AkKiL 😇.
This Bot Works Like Independent @LivegramBot, But With Logs Of The User..
const BOT_TOKEN = '1234567890:ABCDEfghijklmno-PQrstuvwxYZ'; // Your Bot's Token (from BotFather
const BOT_SECRET = 'akkil123456'; // Secret for webhook verification
const LOG_CHANNEL = '-1234567890'; // Channel ID for logs
const OWNER_ID = 1428968542; // Your Telegram User ID (Admin)
- Get
BOT_TOKEN
from @botfather. - Change
BOT_SECRET
with a powerful secret text (only[A-Z, a-z, 0-9, _, -]
are allowed). - Get
BOT_OWNER
from @googleimgbot. - Get
LOG_CHANNEL
id by forwarding a message from channel to @googleimgbot.- Channel ID must start with
-100
. - Bot must be admin in channel with edit rights.
- Channel ID must start with
- Create a Cloudflare account.
- Navigate to
Workers & Pages > Create > Create Worker
. - Deploy the worker by clicking Deploy.
- Edit the code by clicking Edit Code.
- Upload
worker.js
into Cloudflare. - Modify the variables.
- Finally, Deploy.
- Once you deployed the bot on Cloudflare.
- Open
XXX.YYYYY.workers.dev/register
to register your bot webhook. - Then you can start using your bot.
If Anyone Want To Contribute Some Commits. They Can Upgrade It.. With Description About Update And A Test Bot.
- Thanks To AkKiL