Skip to content

EnSave offers you moderation, fun and utility commands. We have frequent updates and fix bugs almost instantly. This includes everything you need from a discord bot.

License

Notifications You must be signed in to change notification settings

ArikSquad/EnSave-Discord

Repository files navigation



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.

About

EnSave offers you moderation, fun and utility commands. We have frequent updates and fix bugs almost instantly. This includes everything you need from a discord bot.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages