https://github.com/neofetchnpc/telebot
Telegram Botz
https://github.com/neofetchnpc/telebot
nodejs telegram telegram-bot
Last synced: 3 months ago
JSON representation
Telegram Botz
- Host: GitHub
- URL: https://github.com/neofetchnpc/telebot
- Owner: NeofetchNpc
- License: mit
- Created: 2024-10-23T10:13:10.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-11-11T00:22:55.000Z (6 months ago)
- Last Synced: 2025-02-05T15:18:17.329Z (3 months ago)
- Topics: nodejs, telegram, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 1.44 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](#table-of-contents)
![]()
---
### `INFORMATION`
> Telebot adalah bot telegram yang memakai library [Telegraf](https://github.com/telegraf/telegraf). Bot ini hampir sama dengan bot WhatsApp pada umumnya. Namun, bot telegram tidak perlu melakukan scan qr dan pastinya anti banned.## CARA PASANG APIKEY
1. Pastikan kamu sudah memiliki akun di website [Api Zeeoneofc](https://api.zeeoneofc.my.id/users/login)
2. Di bagian [Account Setting](https://api.zeeoneofc.my.id/account-settings) salin apikey kamu.
3. Ganti `Your Key` di file `settings.js` dengan apikey kamu.
```ts
// Api
global.APIs = {
alfa: 'https://api.zeeoneofc.my.id',
}// Apikey
global.APIKeys = {
'https://api.zeeoneofc.my.id': 'Your Key',
}
```> **Warning**: Jangan ganti link [https://api.zeeoneofc.my.id](https://api.zeeoneofc.my.id) karena itu adalah link apikey yang akan digunakan untuk fitur bot ini.
--------
### `TELEGRAM TOKEN`
Untuk menggunakan [Telegram Bot API](https://core.telegram.org/bots/api),
Pertama kamu harus [Membuat Akun Bot](https://core.telegram.org/bots)
Melalui [BotFather](https://core.telegram.org/bots#6-botfather).BotFather akan memberikan *bot token*, seperti ini `123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ`.
Jika kamu sudah mendapatkan *bot token* silahkan ganti *bot token* pada file settings.
```js
global.BOT_TOKEN = "YOUR_TELEGRAM_BOT_TOKEN" //create bot here https://t.me/BotFather and get the bot token
```