Khionu Terabite
b6c634b8b5
Renamed Description/Summary Attributes to Summary/Remarks, as per discussion in #239
8 years ago
FiniteReality
c05f44a544
Allow command groups to work correctly
8 years ago
FiniteReality
cddc39dfa1
Don't add multiple spaces for multiple groups
8 years ago
FiniteReality
1ab763e157
Allow parameterless commands to build correctly
Resolves #253
8 years ago
FiniteReality
42e127ac85
Resolve #251
8 years ago
Joe4evr
bd8a601e17
Replace locking on 'this'.
8 years ago
FiniteReality
4848f307d3
Fix #244 and use the correct string
8 years ago
RogueException
ab42129eb9
Include which command failed to build on exception
8 years ago
RogueException
23a0316252
Split IMessage into IUserMessage and ISystemMessage
8 years ago
RogueException
5ee9ca5c31
Merge pull request #230 from FiniteReality/feature/command_aliases
Implement Command Aliases
8 years ago
FiniteReality
94dc123e8d
Use aliases while removing from the CommandMap
8 years ago
RogueException
f2c38567b6
Fixed ChannelTypeReader by mention
8 years ago
Master Kwoth
2cd97bd594
Fixed IRole typereader ref #229
8 years ago
FiniteReality
95cf63243d
Implement Command Aliases
This implementation could probably be more efficient, but I
opted for clarity and simplicity where possible.
8 years ago
RogueException
01c4771217
Update version to beta
8 years ago
RogueException
f6d8659a2e
Removed ParamList null checks
8 years ago
RogueException
40da0241c8
Merge pull request #219 from RogueException/khio-patch
Fixed NullRef
8 years ago
Khionu Terabite
ad54be8790
Changed Parameter Summary from pulling DescriptionAttribute to SummaryAttribute
8 years ago
Khionu Terabite
2e43b6b08b
Fixed NullRef
8 years ago
RogueException
99e9c36a69
Fixed nullrefs in command parsing
8 years ago
RogueException
324664917d
Added new parameter scoring, support multiple matches
8 years ago
RogueException
ed7710fbef
Optimize lib for release builds
8 years ago
RogueException
cc9e1c1a65
Improve array conversion for paramslist
8 years ago
FiniteReality
610a3a26ab
Add DI support to command Groups
8 years ago
RogueException
9951112908
Readded AutoLoad setter
8 years ago
RogueException
e1da83e2c7
Merge pull request #205 from FiniteReality/issue/202
Add Prefix property to Module
8 years ago
RogueException
06e81cbcca
Merge pull request #206 from FiniteReality/issue/203
Add NameAttribute for overriding Name in commands/modules
8 years ago
RogueException
6d766d5f98
Cleaned up command attributes
8 years ago
FiniteReality
252d89000d
Fix comment copy+paste fail
8 years ago
FiniteReality
8b864d4b9e
Fix #203 by adding a NameAttribute to override Name
8 years ago
FiniteReality
83f0e85883
Fix #202 by adding a Prefix property
8 years ago
RogueException
0b25554c31
Unknown overload should return UnknownCommand instead of ParseFailed
8 years ago
RogueException
9bef81e600
Improve exception for parameterless commands.
8 years ago
RogueException
ac49f4b8b0
Rename RequirePermission -> RequirePermissionAttribute
8 years ago
RogueException
fc17aa3ea0
Remove guild check from Message.Resolve
8 years ago
RogueException
94d6acc00e
Exposed reflection classes on commands, modules and parameters
9 years ago
RogueException
63d3b93975
Removed Discord.Commands.Attributes.Preconditions namespace
9 years ago
RogueException
dcb603acd7
Cleaned up permission checks, added Permissions.Has(enum) methods
9 years ago
RogueException
e452aa9662
Cleaned up Command Result structs
9 years ago
RogueException
0b9f9b16a9
Merge pull request #178 from DigiTechs/command_tweaks
Command tweaks
9 years ago
RogueException
2b9600686f
Merge pull request #179 from DigiTechs/feature/172
Preconditions for commands
9 years ago
Finite Reality
f7633ea3d7
Revert 3856d43
& rename CommandParameter.Description to Summary
9 years ago
Finite Reality
f2d80de343
Fix error with RequirePermission precondition
9 years ago
Finite Reality
c77c84bec7
Remove ContextType.Invalid
9 years ago
Finite Reality
6db3f52ac1
eplace DM/Guild preconditions with context
The new RequireContextAttribute works just like RequireDM/RequireGuild,
but is more powerful as developers can specify multiple 'contexts' for
their command to require using the ContextType flags.
9 years ago
RogueException
f6931d4b8a
Ignore doc warnings during Release build
9 years ago
Joe4evr
911faaf29e
Include XML Docs when building.
9 years ago
Finite Reality
86092f9253
Rename Synopsis to Summary to improve clarity
9 years ago
Finite Reality
11f1163ec2
Add Command and module instance parameters to CheckPermissions
After a small discussion with Joe4evr on discord, a way of retrieving the
state of a module appeared to be needed. The new override should provide
enough context to a bot dev to allow them to do what they want.
9 years ago
Finite Reality
1e72eca34a
Remove Preconditions check from Command.Execute
Preconditions are still handled by CommandService.Execute
9 years ago