A fully-customizable bot for dynamic module loading
- Python 3.4.2+
- Discord.py
- Asyncio
- Install prerequisites
- Rename
Config.json.exampleunderAlien-Bot\ConfigtoConfig.json - Put your Discord bot token in
Config.jsonunderToken - Run:
python Bot.pyin a terminal within the\Alien-Botdirectory
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
trueorfalsewithout 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
TokenSets the bot's login tokenNicknameSets the bot's display nameCommand PrefixSets the bot's command prefixSave FileSets the database file save locationEmbed ColorSets the bot's default hex embed color (ex:"0xffffff")Bot EmojiIs replied when the secret command is called. (ex:"🥝")Profile PictureSets the bot's profile picture location (must be jpg)Game StatusA list of statuses that will be randomly chosen on startDisabled ServersA list of server IDs that the bot is disabled inDisabled ChannelsA list of channel IDs that the bot is disabled inPermissionsContains 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 DefaultDefault permission users are assumed to have if they don't have any other rolesHas PermissionsSets whether users with these permissions are allowed to call commandsInheritsThe permission's name / title from which to inherit fromIs OwnerUsers with this permission are given full use of the botAssociated RolesRole IDs which are associated with the permission
Minimum Suggestion PermissionMinimum 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:
EnabledSets whether mod is enabled or disabled bot-wideDisabled ServersA list of server IDs that this mod is disabled inDisabled ChannelsA list of channel IDs that this mod is disabled inCommandsContains all of the bot's commands' config, by nameDisabled ServersA list of server IDs that this mod is disabled inDisabled ChannelsA list of channel IDs that this mod is disabled inMinimum PermissionsThe 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