Skip to content

ZiProject/Ziji-bot-discord

Add Ziji bot Ziji Discord support server

Zibot V10

Zibot is a Discord bot developed by zijipia to enhance your Discord server with various functionalities, using discord.js and ziplayer

Join Zi bot Playground: to get icon of bot.

Features

  • Event Handling: Respond to various Discord events.

  • Music Player:

Player Search

image

  • Lyrics: Using Lrclib

    • synced Lyrics

    • plain Lyrics

  • Voice command:

    • Voice control for music: play, pause, skip, adjust volume, and more.

    • Multi-language support: Recognizes and responds in Vietnamese/ English.

    • Integrated AI assistant: Interact with AI assistant using voice in voice channels.

  • minigame:

    • 2048
    • blackjack
    • coinflip
    • slots
    • snake
    • ...

Installation

Setup bot

Go to discord.dev create your applications

imageimage

Enable Privileged Gateway Intents: image

image

Reset token and add this to setp 3 below.

Setup project

  1. Clone the repository or download project:
git  clone  https://github.com/zijipia/Zibot.git

cd  Zibot
  1. Install dependencies:
npm  install
  1. Set up your environment variables (e.g., TOKEN, MONGO), config:
  • Rename file .env.example to .env:
TOKEN  =  "Your Bot Token"  # required

MONGO  =  "Your Bot Mongo URI"  # optional

...
  • Rename file config.js.example to config.js
module.exports  =  {



deploy:  true,



defaultCooldownDuration:  5000,



ImageSearch:  true,



}

...
  1. Start the bot:
node  .

#or

npm  run  start

#or for dev ( using nodemon)

npm  run  dev

Using ngrok

  1. Visit ngrok's dashboard and log in with your account or create it if you don't have.
  2. Go to Your Authtoken in the sidebar, copy the token and paste into .env -> NGROK_AUTHTOKEN
  3. Go to Domain, generate a domain if you don't have and copy it
  4. Copy the domain and paste it into .env -> NGROK_DOMAIN (The domain is look like something.ngrok-free.app)

[!IMPORTANT] Don't create Edges or it won't work, you can delete it after creating

ngrok

Contributing

Contributions are welcome!

If you made some changes that you think should make it into the project, send a Pull Request on GitHub

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For more information, visit the project page

Support sever.

About

Ziji bot discord

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 8