Giter Club home page Giter Club logo

ensave-discord's Introduction



EnSave Discord

True bot everything you need from a bot.

Discord Server Support EnSave on Patreon!

python discord-py license discord-py

OverviewInstallationDocumentationCommunityLicense

Overview

This is an open-source discord bot developed by ArikSquad. We also have some documented files in this project, so feel free to check the files and see the documentation over there! EnSave uses the latest discord.py library. If you would like to use this as your template for your bot, please add mention us.

Installation

  1. Clone this repository using this command:
git clone https://github.com/ArikSquad/EnSave-Discord.git
  1. Open Command Prompt or Terminal. Then go into the folder with this command:
cd EnSave-Discord
  1. Then install requirements in your terminal. This is very easy and done by this command:
python3 -m pip install -r requirements.txt
  1. After all that you should create a file named .env and put this inside it, but change "(your token)" to your discord bot token.
TOKEN="(your token)"

MUSIC="(your lavalink ip)"
MUSIC_PASSWORD="(your lavalink password)"
HYPIXELAPI="(your hypixel api key)"
  1. Good! Now you can run the bot by opening a new terminal and running this command:
python3 main.py
  1. If you want to use Music commands you need to follow this guide
  2. If you need more help with this then feel free to join our discord server. Click here to join the support server.

Setupping a database for the bot

  1. You should download a database browser, like this.
  2. Create a database.db in the directory /data/db/
  3. The database should be automatically created when you run the bot.


    If something goes wrong use these SQL commands:
CREATE TABLE "code" (
	"secret"	TEXT UNIQUE
);
CREATE TABLE "guild" (
	"guildID"	INTEGER UNIQUE,
	"spy"	INTEGER DEFAULT 0,
	"channel"	INTEGER
);
CREATE TABLE "user" (
	"userID"	INTEGER UNIQUE,
	"premium"	INTEGER DEFAULT 0
);

Reporting a Vulnerability or an Issue

If you found any vulnerabilities or issues please open an issue at the Issues tab.

License

This work is licensed under the Apache License, you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Not all source files are protected by this license - Some third party libraries may be under different copyright.

ensave-discord's People

Contributors

ariksquad avatar mhilkos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mhilkos

ensave-discord's Issues

Queue system broken.

Describe the bug
Queue system doesn't queue, it just overrides the ongoing song.

To Reproduce

  1. play a song
  2. then play another song

Expected behavior
add the song to queue, not play it over

Python version:

  • python 3.8

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.