Rapptz
b87d5e5337
[commands] Add basic support for extensions.
9 years ago
Rapptz
0a07fc088c
[commands] Inject the internal variables for bot.say & co explicitly.
This is to catch cases where it wouldn't fail to find it when
inspecting the stack to catch these stack variables.
9 years ago
Rapptz
ad800e248b
[commands] Add local error handlers.
9 years ago
Rapptz
b2e0632553
[commands] Propagate invoked_with to subcommands.
9 years ago
Rapptz
ec6b1997ad
[commands] Add support for cogs.
Cogs are basically class instances that have commands and event
listeners. They allow for better organisation and grouping of
commands and state. Similar to subclassing discord.Client.
9 years ago
Rapptz
c06dbbd1f0
[commands] Add support for registering more than one event listener.
9 years ago
Rapptz
52eb0e3adb
[commands] Change prefix callback signature and add when_mentioned.
The utility allows for easy addition of "when the bot is mentioned"
as the prefix. The change of signature was to facilitate this.
9 years ago
Rapptz
25588955e4
[commands] Add a way to enable or disable certain commands.
9 years ago
Rapptz
b79a4549ab
[commands] Special handling for when the converter is bool.
9 years ago
Rapptz
542ddc4938
[commands] Allow registration of multiple command prefixes.
9 years ago
Rapptz
8c6eeeed5f
[commands] Don't skip whitespace if the command trigger is found.
9 years ago
Rapptz
2c6126c2a1
[commands] None default without specified type uses str now.
9 years ago
Rapptz
51186c3ca4
[commands] Add CommandNotFound error.
9 years ago
Rapptz
e08d643a7f
[commands] Add a way to remove commands.
9 years ago
Rapptz
7951a2374b
Documentation improvements on using check decorator.
9 years ago
Rapptz
e4f6b14496
Add missing import in commands core.
9 years ago
Rapptz
59ca5ec386
Initial implementation of commands extension module.
9 years ago