extensions#
Utilities for loading Discord extensions.
- walk_extensions(module)[source]#
Yield extension names from the given module.
- Parameters
module (types.ModuleType) – The module to look for extensions in.
- Return type
- Returns
A set of strings that can be passed directly to
discord.ext.commands.Bot.load_extension.