[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Advanced multipurpose discord bot for all your needs

License

Notifications You must be signed in to change notification settings

swayam25/Square-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Square Bot

Advanced multipurpose discord bot for all your needs

🎬️ Preview

  • Moderation System

    Moderation System

  • Music Player

    Music Player

  • Ticket System

    Ticket System

🎯 Features

  • Advanced moderation system
  • Lots of utility & fun commands
  • Advanced music system with control system
  • Clean & informative help menu

🚀 Installation

  1. Clone this repository

    git clone https://github.com/swayam25/Square-Bot square_bot
    cd square_bot
  2. Configure the config.json file

    Configuration
    • owner_id (int) [Required]

      • Owner's discord id
      • Gives access to all commands
    • dev_ids (List[int]) [Required]

      • Developer's discord ids
      • Gives access to developer commands
      • This can be managed by /dev list, /dev add, /dev remove commands too
    • lockdown (bool) [Required]

      • Lockdown status
      • If true, bot will not respond to any commands in any guild except owner's guilds
      • This can be toggled by /lockdown command
    • owner_guild_ids (List[int]) [Required]

      • List of guild ids
      • Developer commands will only work in these guilds
    • system_ch_id (int) [Required]

      • System channel id
      • Bot will send logs in this channel
    • support_server_url (str) [Required]

      • Support server url
      • Bot will use this url for support server
    • discord_api_token (str) [Required]

      • Discord api token
      • Bot will use this token to connect to discord
    • lavalink (Dict[str, Union[str, int]]) [Required]

      • host (str) [Required]
        • Lavalink host
      • port (int) [Required]
        • Lavalink port
      • pass (str) [Required]
        • Lavalink password
  3. Set emojis in emoji.json file. If you want to use default emojis, you can change the emoji_file_path to ./configs/default_emoji.json in emoji.py file

  4. Install dependencies

    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  5. Start the bot

    python main.py