Skip to content

ikyalwaysgood/Simple-Bot

Repository files navigation

logo

Kιɳα Bσƚ

This bot uses a library from Baileys

Give this repository a ⭐ if you like it

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![GPL3 License][license-shield]][license-url]

[![JOIN WITH OUT COMMUNITY][community-shield]][community-url]

Description

logo

  • Kιɳα Bσƚ is a WhatsApp bot with various functions
  • There are various features available on Kιɳα Bσƚ
  • Kιɳα Bσƚ has a beautiful terminal logger
  • Full Installation Tutorial Click Here

Table of Contents

Getting Started

What is needed to run this project :

If you have problems, you can open an issue or join the community to ask questions about it

Setup Your Mongodb

  • Login to the MongoDB website
  • Create your Database
  • Next, select the Database that you created again or click (Database > Connect > Drivers > Copy Your Application Code)
  • Paste the mongodb code that you copied into the .env file and don't forget to change <password> to your database password

Setup Your .env File

  • Edit your .env file
  • Rename .env.example to .env

Built With

TypeScript Prisma MongoDB

Installation

Clone this Project

git clone https://github.com/ikyalwaysgood/Simple-Bot
cd Simple-Bot

Install Dependencies

npm install

Setup Prisma

npx prisma db push

Build Project

npm run build

Run Project

  • Run with PM2
npm run pm2:start
  • Without PM2
npm start

Documentation

Configuration File config.json

  • ownerNotifyOnline to send a message to the Owner whenever the Bot is Online
  • useLimit for limit configuration, if true then every time the command will use the limit
  • useCooldown for cooldown configuration, if true then every time the command will use the cooldown
{
    "ownerNumber": ["YOUR_NUMBER"],
    "teamNumber": [],
    "timeZone": "Asia/Jakarta",
    "prefix": ".",
    "maintenance": [], // List Maintenance Command
    "stickers": {
        "author": "Instagram : iky_alwaysgood",
        "packname": "Made by Iky𝖔𝖋𝖋𝖎𝖈𝖎𝖆𝖑ཽ"
    },
    "settings": {
        "ownerNotifyOnline": false,
        "selfbot": false,
        "useLimit": false,
        "useCooldown": true,
        "autoReadMessage": true,
        "autoReadStatus": true
    },
    "call": {
        "status": "reject" // reject, block, off
    },
    "limit": {
        "command": 30
    },
    "cfonts": {
        "font": "block",
        "align": "center",
        "colors": ["green", "yellow"],
        "background": "transparent",
        "letterSpacing": 0,
        "lineHeight": 0,
        "space": true,
        "maxLength": "0",
        "gradient": false,
        "independentGradient": false,
        "transitionGradient": false,
        "env": "node"
    }
}

Config Commands

  • Command configuration that you can use
type ConfigCommands = {
    name: string;
    alias: string[];
    usage: string;
    category: string;
    description: string;
    cooldown?: number; // in seconds
    limit?: number;
    example?: string;
    isOwner?: boolean;
    isTeam?: boolean;
    isPrivate?: boolean;
    isPremium?: boolean;
    isGroup?: boolean;
    isGroupAdmin?: boolean;
    isGroupOwner?: boolean;
    isBotAdmin?: boolean;
    isProcess?: boolean;
    run: (args: CommandsObject) => unknown;
};

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •