Set up a .env
file in the root directory.
You can use the .env.example
file as a template with the following content:
BOT_TOKEN='your_bot_token'
How to get a bot token:
- Open Telegram and search for
BotFather
- Start a chat with
BotFather
- Send
/newbot
command - Follow the instructions
- Copy the token and paste it in the
.env
file
Install dependencies (using Bun):
bun install
Run:
bun dev