Overview • Installation • Community • License
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)
The following platforms are officially supported:
Accounts You Need To Create:
- Discord bot on Discord Developer Portal
Optional:
The bot cannot run the corresponding functions without API keys through these optional accounts, and will result in exceptions being thrown.
-
Spotify for developers on Spotify Dashboard
-
Genius on Genius Developers
-
Openai on OpenAI
-
Alibabacloud on Aliyun Machine Translate
Before Installation,you need to install:
- Python 3.10 or above
- python-pip
- Git
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
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
Well Done,All you need to do next is run the bot
python3 Basic_main.py
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.
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!
Released under the MIT license.