Commit Graph

1624 Commits

Author SHA1 Message Date
RogueException
a4f2df7d6e Dont double count users during guild download 2016-08-17 12:23:43 -03:00
RogueException
6372f6817f Maintain SocketGuild.DownloadedMemberCount 2016-08-17 12:07:14 -03:00
RogueException
3fae3ab24c Maintain SocketGuild.MemberCount 2016-08-17 12:06:00 -03:00
RogueException
ee4cc96b2c DefaultWebSocketClient's internal methods should not use a canceltoken on locks 2016-08-17 11:53:32 -03:00
RogueException
0b25554c31 Unknown overload should return UnknownCommand instead of ParseFailed 2016-08-17 10:07:26 -03:00
RogueException
625f78504c Fixed several issues in DefaultWebSocketClient 2016-08-17 09:37:17 -03:00
RogueException
7b130f6528 Fixed nullref in channel mention resolving for DM channels 2016-08-16 20:29:39 -03:00
RogueException
8ea812cba3 Do not give extension conversion errors if the object is null 2016-08-16 01:59:01 -03:00
RogueException
9bef81e600 Improve exception for parameterless commands. 2016-08-16 01:44:50 -03:00
RogueException
2b8253ce54 Added Type to ModifyChannelPermissions 2016-08-16 00:51:51 -03:00
RogueException
8d74df8afe Add methods to manually mention by id 2016-08-16 00:46:33 -03:00
RogueException
ac49f4b8b0 Rename RequirePermission -> RequirePermissionAttribute 2016-08-16 00:42:59 -03:00
RogueException
ae867451b5 Validate login state before sending REST requests or RPC msgs 2016-08-14 22:38:12 -03:00
RogueException
65505fbfc5 Cleaned up internal entity namespaces 2016-08-14 14:31:33 -03:00
RogueException
fc17aa3ea0 Remove guild check from Message.Resolve 2016-08-14 11:31:49 -03:00
RogueException
347f6b0196 Expanded mention resolving options 2016-08-14 11:02:22 -03:00
RogueException
94d6acc00e Exposed reflection classes on commands, modules and parameters 2016-08-12 06:36:06 -03:00
RogueException
b63c666d19 Added Linux support 2016-08-11 20:22:40 -03:00
RogueException
b6d14805b6 Added .Net Core MyGet feed 2016-08-11 20:22:29 -03:00
RogueException
3f53472c51 Fixed Color.DebuggerDisplay 2016-08-11 19:41:30 -03:00
RogueException
414e04d76e Removed unused parameters 2016-08-10 03:34:43 -03:00
RogueException
80ed28ebfd Added more extension methods 2016-08-10 03:20:12 -03:00
RogueException
63d3b93975 Removed Discord.Commands.Attributes.Preconditions namespace 2016-08-09 23:44:10 -03:00
RogueException
dcb603acd7 Cleaned up permission checks, added Permissions.Has(enum) methods 2016-08-09 18:18:50 -03:00
RogueException
e452aa9662 Cleaned up Command Result structs 2016-08-09 17:53:08 -03:00
RogueException
487d947abf Removed SocketClientExtensions.GetGuildSummaries() 2016-08-09 17:35:54 -03:00
RogueException
153eda472a Merge pull request #186 from RogueException/issues/185
Add Sync Extensions for DiscordSocketClient
2016-08-09 17:34:17 -03:00
RogueException
0b9f9b16a9 Merge pull request #178 from DigiTechs/command_tweaks
Command tweaks
2016-08-09 17:31:10 -03:00
RogueException
2b9600686f Merge pull request #179 from DigiTechs/feature/172
Preconditions for commands
2016-08-09 17:30:25 -03:00
RogueException
b13b52a1c4 Added REST Ban model 2016-08-09 17:20:46 -03:00
RogueException
eff995a2a6 Added DebuggerDisplay/ToString to Emoji and GuildEmbed 2016-08-09 17:20:09 -03:00
RogueException
3fb13fa7e1 Disabled warnings on undocumented API classes 2016-08-09 17:06:48 -03:00
Finite Reality
f7633ea3d7 Revert 3856d43 & rename CommandParameter.Description to Summary 2016-08-09 16:37:56 +01:00
Finite Reality
f2d80de343 Fix error with RequirePermission precondition 2016-08-07 17:23:26 +01:00
Christopher F
c2978914e7 Add Extensions for WebSocket->SocketClient 2016-08-06 21:12:43 -04:00
Finite Reality
c77c84bec7 Remove ContextType.Invalid 2016-08-06 00:43:11 +01:00
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.
2016-08-06 00:15:11 +01:00
RogueException
f6931d4b8a Ignore doc warnings during Release build 2016-08-05 16:29:08 -03:00
Joe4evr
911faaf29e Include XML Docs when building. 2016-08-05 19:13:26 +02: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
Mushroom
ae871dfc21 Fixed the CDN url 2016-08-04 01:48:20 +01:00
Khionu Terabite
664d3200b6 Updated CDN Url to new domain 2016-08-03 13:09:33 -04: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
023703c996 Add logic to CommandService.Execute to handle basic permissions checks 2016-08-03 16:43:25 +01:00
Finite Reality
47089448dd Fix Synopsis/Description mix-up 2016-08-03 16:33:26 +01:00
Finite Reality
757c36ccd1 Rename and move things about 2016-08-03 16:09:58 +01:00