config.command module

Provides server command functionality in configuration files.

class config.command._CommandManager(name, description)[source]

Bases: object

Class used to store a command instance.

__init__(name, description)[source]

Initialize the instance.

Parameters:
  • name (str) – Name of the command.
  • description (str/TranslationStrings) – A description of the command.
description

Return the command’s description.

Return type:str
name

Return the command’s name.

:rtype str