A fully-customizable bot for dynamic module loading
- Python 3.4.2+
- Discord.py
- Asyncio
- Install prerequisites
- Rename
Config.json.example
underAlien-Bot\Config
toConfig.json
- Put your Discord bot token in
Config.json
underToken
- Run:
python Bot.py
in a terminal within the\Alien-Bot
directory
The following commands come with the vanilla bot:
- Secret command
Since the bot is fully-customizable, this is the main config for the bot
Changes become active on the bot's restart
Config Parsing:
-
Channel IDs and Server IDs are assumed to not have quotations around them (ex:
123456789123456789
) -
To enable or disable a config parameter, use either
true
orfalse
without quotations -
As a general note, you usually shouldn't change parameter names but their values - see below for edge-cases
The primary config is found under Alien-Bot\Config\Config.json
Token
Sets the bot's login tokenNickname
Sets the bot's display nameCommand Prefix
Sets the bot's command prefixSave File
Sets the database file save locationEmbed Color
Sets the bot's default hex embed color (ex:"0xffffff"
)Bot Emoji
Is replied when the secret command is called. (ex:"🥝"
)Profile Picture
Sets the bot's profile picture location (must be jpg)Game Status
A list of statuses that will be randomly chosen on startDisabled Servers
A list of server IDs that the bot is disabled inDisabled Channels
A list of channel IDs that the bot is disabled inPermissions
Contains all the bot permissions' configs, by name- You MAY change the name / title of each permission by changing the parameter name - see example config for reference
Is Default
Default permission users are assumed to have if they don't have any other rolesHas Permissions
Sets whether users with these permissions are allowed to call commandsInherits
The permission's name / title from which to inherit fromIs Owner
Users with this permission are given full use of the botAssociated Roles
Role IDs which are associated with the permission
Minimum Suggestion Permission
Minimum permissions a user must have to recieve command suggestions
Not to be confused with individual mod configs, it is found under Alien-Bot\Config\ModConfig.json
Almost all of this config is auto-generated, auto-formatted and auto-cleaned
Do NOT change mod names or command names - these are for reference
The config will contain each mod, by name, which will each have the following parameters:
Enabled
Sets whether mod is enabled or disabled bot-wideDisabled Servers
A list of server IDs that this mod is disabled inDisabled Channels
A list of channel IDs that this mod is disabled inCommands
Contains all of the bot's commands' config, by nameDisabled Servers
A list of server IDs that this mod is disabled inDisabled Channels
A list of channel IDs that this mod is disabled inMinimum Permissions
The name / title of the minimum permissions a user must have to call the command
This config should generally be left untouched, but contains a persistent database for the bot and mods
This DB is auto-generated, auto-formatted and auto-cleaned
Mods are modules that can be added on top of the vanilla Alien-Bot.
To add a mod, place the mod's folder under Alien-Bot\Mods
Generall config for the added mod will be auto-generated within the Mod Config on the first successful run
Check the mod's source, config, or readme for more information pertaining to the mod or its config WARNING: Only install mods from trusted sources - the bot does not manage mod access in any way