Khionu Terabite
b6c634b8b5
Renamed Description/Summary Attributes to Summary/Remarks, as per discussion in #239
2016-09-06 16:19:43 -04:00
FiniteReality
1ab763e157
Allow parameterless commands to build correctly
...
Resolves #253
2016-08-31 14:07:35 +01:00
RogueException
ab42129eb9
Include which command failed to build on exception
2016-08-28 03:44:45 -03:00
RogueException
23a0316252
Split IMessage into IUserMessage and ISystemMessage
2016-08-27 19:07:22 -03:00
FiniteReality
95cf63243d
Implement Command Aliases
...
This implementation could probably be more efficient, but I
opted for clarity and simplicity where possible.
2016-08-26 22:28:35 +01:00
RogueException
f6d8659a2e
Removed ParamList null checks
2016-08-21 21:47:32 -03:00
Khionu Terabite
ad54be8790
Changed Parameter Summary from pulling DescriptionAttribute to SummaryAttribute
2016-08-21 18:27:36 -04:00
RogueException
324664917d
Added new parameter scoring, support multiple matches
2016-08-21 11:03:50 -03:00
FiniteReality
8b864d4b9e
Fix #203 by adding a NameAttribute to override Name
2016-08-18 13:50:02 +01:00
RogueException
9bef81e600
Improve exception for parameterless commands.
2016-08-16 01:44:50 -03:00
RogueException
fc17aa3ea0
Remove guild check from Message.Resolve
2016-08-14 11:31:49 -03:00
RogueException
94d6acc00e
Exposed reflection classes on commands, modules and parameters
2016-08-12 06:36:06 -03:00
RogueException
e452aa9662
Cleaned up Command Result structs
2016-08-09 17:53:08 -03:00
RogueException
0b9f9b16a9
Merge pull request #178 from DigiTechs/command_tweaks
...
Command tweaks
2016-08-09 17:31:10 -03:00
Finite Reality
f7633ea3d7
Revert 3856d43 & rename CommandParameter.Description to Summary
2016-08-09 16:37:56 +01:00
Finite Reality
86092f9253
Rename Synopsis to Summary to improve clarity
2016-08-05 00:17:29 +01:00
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.
2016-08-04 23:31:21 +01:00
Finite Reality
1e72eca34a
Remove Preconditions check from Command.Execute
...
Preconditions are still handled by CommandService.Execute
2016-08-04 21:48:44 +01:00
Finite Reality
046d56cab5
Add module-level preconditions and precondition for individual permissions
2016-08-04 19:36:14 +01:00
Finite Reality
0e920da21f
Complete Preconditions implementation
2016-08-03 17:21:38 +01:00
Finite Reality
a5393dc937
Rename Permission to Precondition
2016-08-03 16:50:51 +01:00
Finite Reality
757c36ccd1
Rename and move things about
2016-08-03 16:09:58 +01:00
Finite Reality
8c0d4b6123
Improve command documentation features
2016-08-02 23:08:33 +01:00
Finite Reality
eb38bdd437
Fix indentation
2016-08-02 17:54:52 +01:00
Finite Reality
772fd97080
Implement initial command permissions system
...
After our initial discussion on the matter (see #172 ) this is the system
that we all seem to have agreed on. As a result, I have implemented a
simple system which effectively implements permissions, while being
extensible and tweakable so bot devs can decide what they want to do for
permissions.
As for default 'permissions', I'm not sure what the best approach would be
here; bot devs are likely to implement their own permissions 'levels' and
use those. I think the most we could do for now is add attributes to
require certain users (by id) and certain roles (by id and possibly by
name?) This would probably be the best option for now as it requires less
work from us, nor do we know the *exact* approach bot devs want to take
with permissions.
2016-08-02 17:29:39 +01:00
RogueException
a04cf5201a
Cleaned up params implementation
2016-07-30 22:25:17 -03:00
Finite Reality
6732e256fb
Clean up a little
2016-07-30 22:25:16 -03:00
Finite Reality
5ce609c323
Fix small typo
2016-07-30 22:25:16 -03:00
Finite Reality
c8fc0ffa33
Add support for 'params' arguments
2016-07-30 22:25:16 -03:00
Khionu Terabite
846a1746a2
Added Command.Synopsis for seperation of short and long descriptions, this being intended for long.
2016-07-30 18:09:38 -04:00
RogueException
02d5fc4a8e
Exposed CommandParameter's Type
2016-07-30 15:10:50 -03:00
RogueException
c5569a44ea
Renamed Unparsed -> Remainder. Fixed non-string remainder parameters.
2016-07-29 23:10:13 -03:00
RogueException
ff017bd51f
Remove string check for unparsed
2016-07-28 23:20:36 -03:00
RogueException
b407c71567
Added support for non-int enums
2016-07-20 23:16:06 -03:00
Khionu Terabite
523b862525
Added Dynamic Enum TypeParsing, to support all enums
2016-07-20 20:54:29 -04:00
Khionu Terabite
63fdd67413
Initial Plan for allowing custom Enum Type Readers
2016-07-20 15:17:22 -04:00
RogueException
63fbdb394b
Ensure Task return type for commands
2016-06-27 07:07:56 -03:00
RogueException
7bb890cbfe
Added command groups, fixed several bugs
2016-06-27 06:56:24 -03:00
RogueException
f59b6b9004
Implemented command type readers, parser and service.
2016-06-26 03:35:40 -03:00
RogueException
32ab967f4a
Reorganized commands structure
2016-06-21 05:34:11 -03:00
RogueException
5bdd6a7ff3
Early 1.0 REST Preview
2016-04-04 20:15:16 -03:00
RogueException
27d7e9915b
Initial 1.0-alpha1 design changes
2016-02-24 07:00:49 -04:00
RogueException
0db0675cb5
Rewrote AudioClient, fixed several async issues, removed most sealed keywords.
2016-01-19 08:31:45 -04:00
RogueException
c1bee10523
Cleaned up several classes
2016-01-01 01:06:34 -04:00
RogueException
5760e94d81
Reworked internal task engine for DiscordClient and WebSocket. Several other minor async fixes.
2015-12-11 19:07:55 -04:00
RogueException
64e6ea4173
Added GetArg(name) to CommandEventArgs
2015-11-22 20:28:51 -04:00
RogueException
3f9e9040a5
Added Command[paramName]
2015-11-22 20:15:52 -04:00
RogueException
f06a1d7278
Added support for custom errors from permission checkers
2015-11-10 15:37:32 -04:00
RogueException
c09c41599a
Removed Min/MaxArgs
2015-11-09 03:01:22 -04:00
RogueException
093095e410
Added new permissions system, fixed more commands and module bugs.
2015-11-09 00:55:17 -04:00