Skip to content

miftahganzz/Bot-Telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BOT TELEGRAM

Miftah GanzZ

Feature β€’ How To Install β€’ Installing β€’ Thanks to β€’ Donate


πŸ€– Features

  • Main Menu
  • AI Menu
  • Group Menu
  • Download Menu
  • Random Menu
  • Search Menu
  • Tools Menu
  • Game Menu
  • Owner Menu

πŸš€ How To Install

  1. Get Telegram Bot Tokens from Bot Father
  2. Get Chat Owner ID from Bot ID
  3. Get API Key from Yanz API and Caliph API
  4. Download or fork this GitHub repository
  5. Configure the bot token, API key, etc. in the config.js file
  6. Install the dependencies by running npm install
  7. Run the bot by running npm start
  8. Open the Telegram app and search for the bot you have created
  9. Start a chat with your bot

πŸ“¦ Installing

git clone https://github.com/miftahganzz/Bot-Telegram
cd Bot-Telegram
npm install
npm start

βš™οΈ Settings

Click 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
};

🀝 Contributing

Contributions are always welcome! Feel free to fork the repository and submit a pull request with your improvements.


⚠️ Note

  • Do not sell this bot or any part of this code.
  • Keep the credits to respect the effort of the developer.

πŸ’– Donate


πŸ™ Thanks to

Miftah GanzZ Yanz Caliph Dev
Developer Constributor Constributor

About

Simple Bot Telegram Use Telegraf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •