enigma package

Submodules

enigma.app module

enigma.app.start(**kwargs)[source]

Starts the bot and obtains all necessary config data.

enigma.client module

class enigma.client.EnigmaClient(config, *args, **kwargs)[source]

Bases: discord.ext.commands.bot.Bot

Custom implementation designed to load configuration from the TOML config file and dynamic console configurations

on_command(ctx)[source]
setup()[source]

Important setup functions and their configurations have to be called here.

enigma.utils module

enigma.utils.find_members(ctx)[source]

Parses arguments passed to a command and returns a list of me

Parameters:ctx – pass a discord.ext.cli.Context object
Returns:a list of discord.Member objects
enigma.utils.get_command_args(ctx, lower_case=True)[source]

Gets the arguments passed to a command.

Parameters:
  • ctx – pass a discord.ext.cli.Context object
  • lower_case – returns arguments in lower case
Returns:

list

Module contents