Giter VIP home page Giter VIP logo

tzesh / tzebot Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 3.0 59.28 MB

Advanced discord music bot & substructure, includes multi language support, exclusive music channel and controls with emotes, fully functional commands, automatic version update, local database and mongodb support, logging etc.

License: GNU General Public License v3.0

Java 100.00%
discord-bot java volume-control music-player lavaplayer version-control database music-bot discord-bot-substructure turkish english multi-language-support discord-bots jda discord bot music mongodb

tzebot's Introduction

Discord Bot & Substructure

GitHub issues GitHub pull requests GitHub top language GitHub repo size GitHub All Releases GitHub last commit GitHub Release Date

What is TzeBot?

TzeBot, is a discord bot project that I've started about 6th month of 2020. The reasons that I started to develop TzeBot were:

  1. There was not a such discord bot substructure that runs properly at all. Some of them were broken completely, some of them were just worked terribly.
  2. There was not a such discord bot substructure that whose has working GUI or good manual that describes you how can you host your own bot on it.

Then I just wonder why was I not developing a really good one to publish it for free to use. All of the story of TzeBot just came out like this.

How can I use it?

Use TzeBot as a substructure of your bot

Just download the latest version of TzeBot in this link. And extract TzeBot-x.x.rar to a directory then open TzeBot-x.x.jar. If you want to use TzeBot as a substructure of your bot, you'll need 3 things that have to be filled:

GUI

  1. Discord ID of Owner: Just enable developer mode in Discord and then just message an arbitrary channel and then right click on yourself then "Copy ID".
  2. Discord Bot Token: You propably have it already, if you don't just search in google "how to create discord bot in discord developer portal?".
  3. Youtube API Key: Just follow the instructions in this page.

Now you are ready to go. Just hit start button to make your bot online. And then create a invite link to invite your bot into your channel. You can change every single message by editing localizer.json located once you started the bot. Also you can add new features/commands or improve existing ones by forking the repository.

When it came your server first time, it's prefix will be "." and it's language will be "English". You can change it's language and prefix if you want to, before that shall we just look at the commands of TzeBot? Type ".help": Help Command

As you can see, all of the commands are categorized, if you want to look at the all moderation commands and their explanations just type ".help moderation":

Moderation Commands

If you want to look at music commands of TzeBot, just type ".help music":

Music Commands

If you aim to use TzeBot as a music bot that you might have been noticed ".channel" command. You can use TzeBot as a normal music bot by writing each command ".play", ".skip", ".volume"... Or you can just setup your music channel to feel the difference and convenience of TzeBot. Type ".channel create":

Music Commands

Then all you have to do is just go to the created music channel and type ".channel set":

Music Commands

After you wrote ".channel set" into the music channel you will have been noticed that your message is deleted and 2 messages added into music channel. First one is banner of TzeBot, the other one is the reaction-control panel or at least the name that I put into it. It allows you to control music player with emotes. And all the functions of the emotes is above of themselves. You can just type name of the song or URL of the song that you want to play into channel.

Features of TzeBot substructure

  • Automatic saving-loading: Don't worry about losing of your servers. All of the database is saving per 15 minutes and also on close and loading every start.
  • Version control: If you are encountering some problems when using TzeBot substructure, just give us a feedback and then wait for a new version. In every start TzeBot will check if there is an update or not.
  • Sharding: This is a feature that allows you to use your bot too many of servers. 1 shard unofficially equals about 1500 server load.
  • MongoDB: TzeBot can use MongoDB as a database. It's really easy to setup, you can just change variables in .env file, and then you are ready to go.

Requirements

  • Java Version (18.0+)

TzeBot averagely uses 125-225 MB RAM and %0.1 CPU while working, it's really resource friendly. If you have any questions you are always free to ask me if you encounter any errors or something that might has to be feedbacked please open an issue in issue section and ask in there...

tzebot's People

Contributors

tzesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tzebot's Issues

Lang

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Bot does not automatically disconnect when there is no one left in the channel

In previous versions, TzeBot used to automatically disconnect when there is only itself left in the voice channel. When we upgraded its JDA to v5.0.0-beta-6 due to changes in guild events, the events that we used in previous versions are deprecated. Hence, it is not working as it supposed to work. This is a known but not that such a gamebreaking/huge issue and it is going to be fixed as soon as possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.