Feature β’ How To Install β’ Installing β’ Thanks to β’ Donate
- Main Menu
- AI Menu
- Group Menu
- Download Menu
- Random Menu
- Search Menu
- Tools Menu
- Game Menu
- Owner Menu
- Get Telegram Bot Tokens from Bot Father
- Get Chat Owner ID from Bot ID
- Get API Key from Yanz API and Caliph API
- Download or fork this GitHub repository
- Configure the bot token, API key, etc. in the
config.jsfile - Install the dependencies by running
npm install - Run the bot by running
npm start - Open the Telegram app and search for the bot you have created
- Start a chat with your bot
git clone https://github.com/miftahganzz/Bot-Telegram
cd Bot-Telegram
npm install
npm startClick to expand
You can edit the owner and other settings in './config.js':
global.PORT = process.env.PORT || 3000;
global.time_interval = 60 * 60 * 1000;
// Bot Settings
global.ownerName = "miftahganzz";
global.ownerId = ; // your id
global.botToken = ""; // get in bot Father
global.botMode = "public"; // Bot Mode
global.nameGroup = "miftahgrup";
global.nameChannel = "ITzpire";
global.mongoURL = ""; // Your url mongodb
global.autoRestartLimitAndBalance = false; // true or false
global.web_view = true; // default false
global.database = "MongoDB";
global.github = "https://github.com/miftahganzz"; // your github
global.telegram = "https://t.me/miftahganzz";
global.totalFeatures = 10; // total feature or just empty it
global.game_duration = 60; // Game duration
global.fileLimit = 10;
// Default limit and balance user free
global.user = {
Limit: 25,
Balance: 50
};
global.refferUser = {
limit: 15,
balance: 25
};
global.reffer = {
limit: 30,
balance: 50
};
global.thumb = [
"https://minimalistic-wallpaper.demolab.com/?random"
];
global.mess = {
onlyOwner: "[!] This feature can only be used by the owner.",
onlyPremium: "[!] This feature can only be used by premium users.",
onlyGroup: "[!] This feature can only be used within groups.",
onlyPrivate: "[!] This feature can only be used in private chat.",
onlyGroup: "[!] This feature can only be used in group chat.",
onlyAdmin: "[!] This feature can only be used by admin group.",
onlyBotAdmin: "[!] The bot must be a group admin to use this command.",
question: "Enter a question...",
prompt: "Enter a prompt...",
error: "Sorry, the feature has an error.",
limit: "You have reached the limit.",
start: "You are not yet registered in the Bot database. Use the command /start to start."
};
global.api = {
yanz: "https://api.yanzbotz.my.id",
itzpire: "https://itzpire.com",
caliph: "https://api.caliph.biz.id"
};
global.apikey = {
yanz: "", // your apikey yanz
caliph: "" // yout apikey caliph
};Contributions are always welcome! Feel free to fork the repository and submit a pull request with your improvements.
- Do not sell this bot or any part of this code.
- Keep the credits to respect the effort of the developer.
![]() |
![]() |
![]() |
|---|---|---|
| Miftah GanzZ | Yanz | Caliph Dev |
| Developer | Constributor | Constributor |


