Skip to content
/ E1ectricBot Public template

A Discord Bot with music,query,autolog,moderation functions

License

Notifications You must be signed in to change notification settings

Cey1anze/E1ectricBot

Repository files navigation

E1ectricBot

Music, Qurey, AutoLog and Management.

PyPI - Python Version discord.py

OverviewInstallationCommunityLicense

Overview

E1ectric is a simple bot that can do many query functions,such as game status search,weather search,picture search,translator and more.This mostly based on app_commands,that means you can easliy use commands without any guide.You can turn E1ectric into an admin bot, music bot, search bot,new best friend or all of these together!

Installation is easy, and you do NOT need to know anything about coding!

E1ectric Bot includes:

  • Manager features (kick / ban / unban / mute / timeout / chat cleanup / reaction roles)
  • Music features (Spotify, playlists, queues)
  • Query features(game status search,weather search,picture search)
  • AutoLog features(auto log guild events in both discord channels and local log files)

Installation

The following platforms are officially supported:

Accounts You Need To Create:

Optional:

The bot cannot run the corresponding functions without API keys through these optional accounts, and will result in exceptions being thrown.

Before Installation,you need to install:

  • Python 3.10 or above
  • python-pip
  • Git

Windows

step 1:
git clone https://github.com/HYBBWuXiDiXi/E1ectricBot.git

Install Dependences:

pip install -r requirements.txt

Additional - For Translator:

To use the translator function, perform this action. Otherwise, delete the 'translate.py' file in the ' cmds/OtherApicmds' directory to avoid exceptions being thrown.

cd ./cmds/OtherApicmds
md res
cd res
git clone https://github.com/aliyun/aliyun-openapi-python-sdk.git
cd aliyun-openapi-python-sdk/aliyun-python-sdk-core
python setup.py install
cd ../aliyun-python-sdk-alimt
python setup.py install
Step 2:

Setup configs:

main config:

Modify config.example files in the root directory to config.json, open and modify the contents in text method.

other configs:

Modify all .example files in the configs directory to . json, open and modify the contents in text method.

Explanation of config file content:

check here

Step 3:

Well Done,All you need to do next is run the bot

python3 Basic_main.py

Linux

If you already installed python3.10 or above,pip and git,the next steps is the same as windows

If after reading the guide you are still experiencing issues, feel free to join My Server and ask in the #About Bot channel for help.

Join My Server!

E1ectric is in continuous development, and it’s not fully complete,I welcome anyone who wants to make robots develop healthily. Even if you don't know anything about programming, it is welcome to provide advice and code support in the community.

Join me on My Server!

License

Released under the MIT license.

About

A Discord Bot with music,query,autolog,moderation functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages