You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Tests.Permissions.cs 45 kB

Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
Squashed commit of the following: commit 17a4af71ee8062966bfe477d4d9ea68b490cfb77 Author: Still Hsu <341464@gmail.com> Date: Tue May 29 17:15:10 2018 +0800 Add documentation for new API version & few events commit f4fb027ea9cab9ba990a55676d8453bea3e68b1a Merge: d74c5287 3acf2a9a Author: Still Hsu <341464@gmail.com> Date: Tue May 29 08:25:41 2018 +0800 Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline commit 3acf2a9a6bb13d5b75c09babaf7234cb2707f4e8 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Mon May 28 14:59:30 2018 -0500 Refactors readMessages, fixing from #1033 (#1075) commit 513a489bf82ed4e845ff3df9fe21c06e80bb28b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:45:42 2018 -0400 codefix: add VoiceAPIVersion constant to DiscordConfig commit 9ba38d77966897037cb6355eda2215fd9a235712 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:35:59 2018 -0400 api: upgrade audio client to VoiceWS v3 commit 64d8938ed5100d4c8f3a2afaec3a6becb53cf9b8 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 15:25:46 2018 -0400 fix: Discord does not always send the member on VOICE_STATE_UPDATE some guilds aren't on g250k yet? not sure commit aeb30955932803e88fcd056f817f449e8664715f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:48:38 2018 +0100 Remove Debug.Print call causing tests to fail Forgot to hit save properly... Whoops. commit a718a7d3c234a37d1c792ac84af0ae8dce61c1a5 Author: Christopher F <foxbot@protonmail.com> Date: Mon May 28 12:45:49 2018 -0400 cleanup: Remove ChannelHelper#IsNsfw Closes #1074 This code was not referenced anywhere in the active codebase. commit 0c7cb73b06aba3eaeb811b4671fd0f4a5078a491 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:41:05 2018 +0100 Fix permission-related ViewChannel tests commit 415e2f773978353025ea8b2f6c3d9929601c28c1 Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:14:18 2018 +0100 Fix analyzer warnings with tests Use (actual, expected) format for Assert.Equal, fixes analyzer warnings commit b0042606b628e02ffe2bee3135c7ed42c3b8311f Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:13:59 2018 +0100 Move RpcCategoryChannel into the correct project commit 683b3f2701087db6d49c3a54c6d99c80ef5b2e5a Author: FiniteReality <digpoealternate@gmail.com> Date: Mon May 28 17:12:28 2018 +0100 Mark ChannelHelper.IsNsfw Obsolete Discord no longer treats channels prefixed with 'nsfw' as NSFW, so we no longer need to have this check. commit d74c52873fb13434bca9dd8b56e74104392cb95d Merge: 341b9588 237ad0f8 Author: Still Hsu <341464@gmail.com> Date: Mon May 28 11:48:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 237ad0f8675023478ec8ad41c7b6b6fd19ceed2d Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 18:00:51 2018 -0400 Revert "fix: Properly rethrow exceptions in SocketGuild audio client" This reverts commit adf4da19fc116759c4246c978143987712fa2116. Someone hasn't written c# in a while commit adf4da19fc116759c4246c978143987712fa2116 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 17:56:14 2018 -0400 fix: Properly rethrow exceptions in SocketGuild audio client commit c0c565fd7ee03fa569027fff7f17db90d9376b4f Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:45:54 2018 -0400 retain fallback case for if user is still null commit 8fb2c71814fad9bcab1888fb8d66d693cc98a4b1 Author: Christopher F <foxbot@protonmail.com> Date: Sun May 27 16:37:17 2018 -0400 Add new member objects to events commit 341b9588d608bcd7460e751b7b0d2cd83bc42e32 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 19:01:04 2018 +0800 Add documentation commit 2df635e025ef7de2959c232e468f093c103f250f Merge: 180b20dd 9995cab4 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:25:51 2018 +0800 Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases Improve XML docs for commands quotation mark aliases feature commit 180b20dd02edddfe1d279348516f5d54985eb8f0 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:19:20 2018 +0800 Add documentation for new INestedChannel commit e9f72b6ece60ffe142266b01f90bd5ae8b00c742 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 18:18:52 2018 +0800 Fix missing service provider in example commit 9995cab40ce542562d87183cff91707bd6f07e60 Merge: a8d3031b 1a146afb Author: Chris Johnston <chris@thejohnstons.net> Date: Sun May 27 01:11:17 2018 -0700 Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases commit a8d3031b2d73bbe813e83bb439345975d1003b55 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:32:40 2018 -0700 Add explanation that if " is removed then it wont work commit cb7c6d35464bd2d8aa0d5cc0dd20c8a6fa11bb4f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:29:32 2018 -0700 Add reference to CommandServiceConfig from the util docs' commit 110b97513fbd26695674190ab217800490e27185 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 23:15:01 2018 -0700 Add more XML comments to quotation mark alias map stuff, including an example commit 1a146afbe1f539c210648c39985009bd4ad926b3 Merge: cb57ada8 a06e2126 Author: Still Hsu <341464@gmail.com> Date: Sun May 27 11:25:10 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit a06e21261c66e7aeacde11911ce5ee1ed6baba2f Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:15:09 2018 -0700 Fix ChannelPermissions Modify parameter to be correct default value (#1003) * fix channel permissions modify parameter to use nullable boolean, correct default value * Add general tests for the ChannelPermissions.Modify method to test default values * remove unused cast in tests * add guildpermission modify no param tests * Add no-param modify tests for OverwritePermissions * fix inconsistent parameters in GuildPermissions cstr * Adjust formatting of methods and cstrs with many parameters * remove temp file that was included. no idea what that is * Fix System dependency I should really stop fixing merge conflicts in the github website. commit f9cbff5e42c04aa8a0fe87377ba68aa7d748d873 Author: Chris Johnston <chris@thejohnstons.net> Date: Sat May 26 11:06:35 2018 -0700 Fix #995, Move Category Implementation from IGuildChannel to INestedChannel (#1004) * Fix #995 ICategoryChannel.CategoryID throws NotSupportedException * Add tests * change run mode of TestChannelCategories * Add throw for GetCategoryAsync * Add xml doc explaining why exception is thrown * Add test coverage for text and voice channel categories * initial implementation of INestedChannel * more implementation of INestedChannel design * Add case in RestChannel Create for Category type * set the CategoryID for RestVoiceChannel * rewrite channel category tests to work with existing pattern * remove outdated todo * Make IVoiceChannel implement INestedChannel * remove redundant interface implementation * Add c#7 feature from feedback * Remove redundant GetCategoryAsync methods from socket entities * Added configureawait to async methods * change signature of interface GetCategoryAsync * Add check for cachemode in rest channel GetCategory * remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel commit 4d8764e124cef12af4b0944d185ec22d9683c520 Author: FiniteReality <digpoealternate@gmail.com> Date: Sat May 26 14:11:49 2018 +0100 Refactor RoleInfo types into separate classes - Fixes indentation with a few files (looks like a bad copy+paste job) - Renames RoleInfo to RoleEditInfo - Moves RoleInfo from MemberRoleAuditLogData into its own class All of this should improve docs. commit cb57ada8d9f4a8a8b787ba6990afb08ea81a89a1 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 21:03:07 2018 +0800 Add partial documentation for audit log objects commit afda0cd172a98154bc33b4c27eed65580189785d Author: Still Hsu <341464@gmail.com> Date: Sat May 26 20:47:21 2018 +0800 Add documentation for some REST-based objects commit 098ead93d98ea9e629f9c4d8681a38ad8c1e9a82 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:33:38 2018 +0800 Add partial documentation for audit log impl commit 5d1621a9c5ea27d8758e6a6e6dc4b4d6c093ff7a Author: Still Hsu <341464@gmail.com> Date: Sat May 26 16:06:20 2018 +0800 Fix xml docs error commit 596b47e1b8bbdd349df20da7938eaf4581bccb91 Merge: 3f572ccc fa759a22 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:54:08 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 3f572ccc0d10fbdcc514f5ef0701b06c8b75e7ec Merge: 73ebc025 a9983026 Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:38 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 73ebc0258031ff74770b1f4b4a8c4be9071f703c Author: Still Hsu <341464@gmail.com> Date: Sat May 26 15:32:23 2018 +0800 Fix light theme link color commit fa759a22eac25183eb0fecf6cd0fbbf7f476fa11 Author: Chris Johnston <chris@thejohnstons.net> Date: Fri May 25 06:38:59 2018 -0700 Remove Build Warnings for Obsolete Guild Permission Read Messages (#1067) - Replaces the usages of `ReadMessages` with `ViewChannel` - Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well commit bbbac85c46162d7bb44ecdd68194ab79db25037d Author: Hawx <Hawxy@users.noreply.github.com> Date: Fri May 25 20:14:28 2018 +0800 Update Dependencies and support NS2.0 builds (#1046) * Update deps, fix test warnings. * Support ns2.0 * Fix typo * Remove ns1.1 support * Net.Http and Net.Websockets.Client are not needed in ns2.0 * Move to net46 per volt * Remove ns1.3 constants commit 5f084adf94f3215b6d68c3a8b61cbfad7376f18c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:17:19 2018 -0500 Deprecates ReadMessages, introduces ViewChannel (#1033) * Deprecates ReadMessages, introduces ViewChannel * Adds period and comma somehow missed commit bc6009ec7207e16aedecdc658dc59b8ac02c400e Author: Still Hsu <341464@gmail.com> Date: Fri May 25 08:08:51 2018 +0800 Implement IMessageChannel#DeleteMessageAsync (#996) * Implement DeleteMessageAsync * Refer to MessageHelper instead of duplicating call * Fix refactor error commit cee71ef35a450802ef35090d9eaf167ca39306e8 Author: Chris Johnston <chris@thejohnstons.net> Date: Thu May 24 17:07:37 2018 -0700 Add support for parsing multiple types of quotation marks in commands, Fix #942 (#943) * Add ability to support different types of quotation marks * Added normal quotation mark to list of aliases, removed single quote mark * clean up leftover changes from testing * change quotation mark parsing to use a map of matching pairs * remove commented out code * Fix conventions of the command parser utility functions * change storage type of alias dictionary to be IReadOnlyDictionary * revert type of CommandServiceConfig QuotationMarkAliasMap to Dictionary * minor formatting changes to CommandParser * remove unnecessary whitespace * Move aliases outside of CommandInfo class * copy IReadOnlyDictionary to ImmutableDictionary * minor syntax changes in CommandServiceConfig * add newline before namespace for consistency * newline formatting tweak * simplification of GetMatch method for CommandParser * add more quote unicode punctuation pairs * add check for null value when building ImmutableDictionary * Move default alias map into a separate source file * Ensure that the collection passed into command service is not null commit b52af7ae7caaddd79101aeb9f5af2ce482890bc2 Author: Joe4evr <jii.geugten@gmail.com> Date: Fri May 25 01:59:32 2018 +0200 Add a dedicated TimeSpan reader so it doesn't suck (#1005) * Add a dedicated TimeSpan reader so it doesn't suck * Pass input as lower case commit c275e575289073fe42ead725de97b97301c7dc50 Author: o Acid Chicken (硫硫▒~E▒▒▒~O) <root@acid-chicken.com> Date: Thu May 24 19:52:25 2018 -0400 Add support casting System.Drawing.Color to Discord.Color commit fa3303426766a59e7aa4d67e8b50826cfe7204ec Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 13:50:56 2018 +0900 Use built-in symbol refs: https://github.com/RogueException/Discord.Net/pull/1043#issuecomment-385223999 commit 27ea82668587960925b73f97c924c9d39ee71f7b Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 11:29:31 2018 +0900 Add support casting System.Drawing.Color to Discord.Color commit 1ab9de24978ff24a018767f80dc95ba19b616988 Merge: f5bb99c7 a4d1e2bc Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Apr 29 10:16:46 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit f5bb99c77d0fecec21ad769778d17144c047d8b1 Merge: 3be8e40d b8b59d97 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Tue Apr 10 11:07:36 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit 3be8e40d3814fe8455af475b8641ee07a8f368d6 Merge: c692306f 9d77a3cd Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sun Jan 7 15:05:31 2018 +0900 Merge remote-tracking branch 'upstream/dev' into dev commit c692306fcc1e86ab92dd10683d3719f16c02a249 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:49:00 2017 +0900 Add target of the internal fields commit 2d08f9a655b4949c1177f778d0f499047484a537 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 10:17:42 2017 +0900 Add some more extension commit 4f19b835ffe8c64a93a9b4659e60b03ac797760f Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 01:19:11 2017 +0900 Add naming rules commit af756cd9feb630baadbf6025cbb079cd9e1f45cb Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Sat Nov 11 00:35:30 2017 +0900 Add basic .NET style rules commit 503ece558b4f07bd8008157d3aeb6a4e7100d349 Author: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Date: Fri Nov 10 22:36:52 2017 +0900 Add EditorConfig commit 5023357a60bd5ae454b35426ddd279fb3284b7e8 Author: Christopher F <foxbot@protonmail.com> Date: Thu May 24 19:36:33 2018 -0400 codefix #1020: RequestOptions should always be sorted last commit bf5275e071b78a25fd4501a930e69c5dc8cd3b19 Author: Joe4evr <jii.geugten@gmail.com> Date: Thu May 24 19:36:00 2018 -0400 Add ability to specify parameters on channel creation (#1020) commit 07bca5b31a3580d55278878eabb56a82973f8c8f Author: Joe4evr <jii.geugten@gmail.com> Date: Fri Apr 6 09:44:50 2018 +0200 Add ability to specify parameters on channel creation commit 0ba8b063ad98144232606f422574f9741fd95b7a Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 19:23:44 2018 -0400 Makes text parameter of sending messages optional (#1042) commit 114e5b431b26669bcdaac9f84792a216ad67186f Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 19:08:35 2018 -0500 Fixes lack of default value for tts commit 1fd8c70c5346ff0c4fdb0093c0fc7fb4b3c8db2c Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Sat Apr 28 15:21:11 2018 -0500 Makes text parameter of sending messages optional commit 79811d0e618c011e6cca542811031d824650dae5 Author: HelpfulStranger999 <helpfulstranger999@gmail.com> Date: Thu May 24 17:35:38 2018 -0500 Paginate reactions - solved #1007 (#1022) * Cleaned up and refactored slightly * Resolves #971 * Adds support for default avatars and resolves #971 * Amendment * Final amendment * Paginating reactions * Amendments based on feedback * Further amendment based on review * Final(?) amendment * Removes default limit and after user id * Removes fromUserId; cleans up model creation; replaces function with individual parameters commit a9983026f067effeac7108c710ba6917162b7995 Author: Still Hsu <341464@gmail.com> Date: Tue May 22 10:15:49 2018 +0800 Add event docs - MessageReceived - ChannelUpdated/Destroyed/Created commit dece19d89505342e5f8c51317b54be8ce69336c9 Merge: fdaa689a e764dafe Author: Still Hsu <341464@gmail.com> Date: Mon May 21 11:47:47 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit fdaa689ae8be8e9d2ff5190b6cfed5af244b805b Author: Still Hsu <341464@gmail.com> Date: Wed May 9 06:04:59 2018 +0800 Add explanation for RunMode commit ea82c2537e64d4b75f85d9369e90cb55cfcadcc7 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 16:30:48 2018 +0800 Initial proofread of the articles commit 124f1a267c663fbbb0f2dc23367dd910ae3ba4cc Merge: 25557218 97c89310 Author: Still Hsu <341464@gmail.com> Date: Tue May 8 05:02:01 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit 25557218dbc9390dbeac108afc153776f52dc26f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 16:11:19 2018 +0800 Add details to SpotifyGame commit c7b236ddf5d7324dd8c1513ccd528a7a45d0031f Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:58:23 2018 +0800 Add more IGuild docs commit 1bb06cc37b7c2312b0ab111da63026a01da01e42 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:40:31 2018 +0800 Replace all langword placements with code block commit ac47d84ea74c81e136434dcc33967fe4cd95c1e6 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:22:17 2018 +0800 Replace langword null to code block null instead - Because DocFX sucks at rendering langword commit 0b15bbc54d15c036f770bab818712956c527b4ee Author: Still Hsu <341464@gmail.com> Date: Sun May 6 15:20:34 2018 +0800 Add XML docs commit 65d4e4360eb88e3bc5cc8f0da6135e5ee997af6c Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:57:53 2018 +0800 Add BaseSocketClient docs commit 8f64c045999c1bb0440bdc818f082e7459756b36 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:37:55 2018 +0800 Replace note block commit d8bb9e7aaa1e908ceb9227285c0cebec9add5280 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:31:50 2018 +0800 Add warning for bulk-delete endpoint commit adae5ffc9e42343f170d6c869644637587330b59 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:07:28 2018 +0800 Fix missing Username prop commit 3e591972cafdffb6692a1b94cf9a63251188df8b Author: Still Hsu <341464@gmail.com> Date: Sun May 6 06:01:34 2018 +0800 Add properties examples to overwrite commit 0ad66f6765addf6d4d25dfbddadeaa542d461403 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:55:15 2018 +0800 Fix minor consistencies & redundant impl commit 124efdf7e66ee070fbcdde07ed4f20c717c9c1c0 Author: Still Hsu <341464@gmail.com> Date: Sun May 6 04:40:14 2018 +0800 XML Docs commit 3aa5d363de335444558fdb4bf1bf48a5743bc917 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 18:22:46 2018 +0800 Add 'last modified' plugin Source: https://github.com/Still34/DocFx.Plugin.LastModified Licensed under MIT License commit 2014870dc05dedb6171338d8ae4329eaa4c73f90 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:57:40 2018 +0800 Fix letter-casing for files commit f27d659ebeb88348e24e759308933e3983831ad7 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:50:00 2018 +0800 Document exposed TypeReaders commit 5a824a5695d72a62e28e0a307a5be446557291be Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:44:15 2018 +0800 Add missing exceptions commit c2de0c055f3894c795ea7d7da774fb006c752898 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:40:16 2018 +0800 Fix seealso for preconditions and add missing descriptions commit 3a7d7ee9552a2c6fea1c32b6f3cd91f6efdd29f5 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:36:22 2018 +0800 Minor fixes in documentations + Fix unescaped '<' + Fix typo commit 45839bd982a822dd9da10ceb48989fdb2cd8cd85 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 15:29:47 2018 +0800 Add XML Docs commit 9e6254600cd7bb5b7626025492223717f92501f9 Merge: aea06788 bb4bb138 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 14:48:13 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit aea067884c81832ad6cd910ff56c550cf3ecad75 Merge: 27dc4831 9ddd7090 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:51:07 2018 +0800 Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline commit 27dc4831e88c952f3ea1f68b18434e16197fdfa9 Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:50:27 2018 +0800 Add XML Docs commit baa8beb3824ed59fb50d269b9e13721fa9f5a04e Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:49:42 2018 +0800 Add XML Docs commit 089f97a0101a4ef9194f65b2d4435c0c69dfa87c Author: Still Hsu <341464@gmail.com> Date: Sat May 5 13:43:04 2018 +0800 Add details regarding userbot support commit 9ddd70906aa01015fc76bc2401868e044c4c7cc1 Merge: f197174f 7cfed7ff Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:37:04 2018 +0800 Merge branch 'dev' into docs/faq-n-patches-offline commit f197174fcc2df1e092b26cd2c8087b602ffb1960 Author: Still Hsu <341464@gmail.com> Date: Fri May 4 09:36:53 2018 +0800 Fix embed docs consistency commit 157acc46955d52809b959b52fb1a04404a6df3a5 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 23:03:35 2018 +0800 Add tag examples commit 57ea571a8115f4b768c2dbbe1f2ef807b0cfd647 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:48:33 2018 +0800 Fix sample link & add missing pictures commit 6769c37ad7e664845948c50ce403217a9951ef07 Author: Still Hsu <341464@gmail.com> Date: Thu May 3 22:39:26 2018 +0800 Compress some assets & add OAuth2 URL generator
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. using System;
  2. using System.Threading.Tasks;
  3. using Xunit;
  4. namespace Discord
  5. {
  6. public class PermissionsTests
  7. {
  8. private void TestHelper(ChannelPermissions value, ChannelPermission permission, bool expected = false)
  9. => TestHelper(value.RawValue, (ulong)permission, expected);
  10. private void TestHelper(GuildPermissions value, GuildPermission permission, bool expected = false)
  11. => TestHelper(value.RawValue, (ulong)permission, expected);
  12. /// <summary>
  13. /// Tests the flag of the given permissions value to the expected output
  14. /// and then tries to toggle the flag on and off
  15. /// </summary>
  16. /// <param name="rawValue"></param>
  17. /// <param name="flagValue"></param>
  18. /// <param name="expected"></param>
  19. private void TestHelper(ulong rawValue, ulong flagValue, bool expected)
  20. {
  21. Assert.Equal(expected, Permissions.GetValue(rawValue, flagValue));
  22. // check that toggling the bit works
  23. Permissions.UnsetFlag(ref rawValue, flagValue);
  24. Assert.False(Permissions.GetValue(rawValue, flagValue));
  25. Permissions.SetFlag(ref rawValue, flagValue);
  26. Assert.True(Permissions.GetValue(rawValue, flagValue));
  27. // do the same, but with the SetValue method
  28. Permissions.SetValue(ref rawValue, true, flagValue);
  29. Assert.True(Permissions.GetValue(rawValue, flagValue));
  30. Permissions.SetValue(ref rawValue, false, flagValue);
  31. Assert.False(Permissions.GetValue(rawValue, flagValue));
  32. }
  33. /// <summary>
  34. /// Tests that flag of the given permissions value to be the expected output
  35. /// and then tries cycling through the states of the allow and deny values
  36. /// for that flag
  37. /// </summary>
  38. /// <param name="value"></param>
  39. /// <param name="flag"></param>
  40. /// <param name="expected"></param>
  41. private void TestHelper(OverwritePermissions value, ChannelPermission flag, PermValue expected)
  42. {
  43. // check that the value matches
  44. Assert.Equal(expected, Permissions.GetValue(value.AllowValue, value.DenyValue, flag));
  45. // check toggling bits for both allow and deny
  46. // have to make copies to get around read only property
  47. ulong allow = value.AllowValue;
  48. ulong deny = value.DenyValue;
  49. // both unset should be inherit
  50. Permissions.UnsetFlag(ref allow, (ulong)flag);
  51. Permissions.UnsetFlag(ref deny, (ulong)flag);
  52. Assert.Equal(PermValue.Inherit, Permissions.GetValue(allow, deny, flag));
  53. // allow set should be allow
  54. Permissions.SetFlag(ref allow, (ulong)flag);
  55. Permissions.UnsetFlag(ref deny, (ulong)flag);
  56. Assert.Equal(PermValue.Allow, Permissions.GetValue(allow, deny, flag));
  57. // deny should be deny
  58. Permissions.UnsetFlag(ref allow, (ulong)flag);
  59. Permissions.SetFlag(ref deny, (ulong)flag);
  60. Assert.Equal(PermValue.Deny, Permissions.GetValue(allow, deny, flag));
  61. // allow takes precedence
  62. Permissions.SetFlag(ref allow, (ulong)flag);
  63. Permissions.SetFlag(ref deny, (ulong)flag);
  64. Assert.Equal(PermValue.Allow, Permissions.GetValue(allow, deny, flag));
  65. }
  66. /// <summary>
  67. /// Tests for the <see cref="Discord.Permissions"/> class.
  68. ///
  69. /// Tests that text channel permissions get the right value
  70. /// from the Has method.
  71. /// </summary>
  72. /// <returns></returns>
  73. [Fact]
  74. public Task TestPermissionsHasChannelPermissionText()
  75. {
  76. var value = ChannelPermissions.Text;
  77. // check that the result of GetValue matches for all properties of text channel
  78. TestHelper(value, ChannelPermission.CreateInstantInvite, true);
  79. TestHelper(value, ChannelPermission.ManageChannels, true);
  80. TestHelper(value, ChannelPermission.AddReactions, true);
  81. TestHelper(value, ChannelPermission.ViewChannel, true);
  82. TestHelper(value, ChannelPermission.SendMessages, true);
  83. TestHelper(value, ChannelPermission.SendTTSMessages, true);
  84. TestHelper(value, ChannelPermission.ManageMessages, true);
  85. TestHelper(value, ChannelPermission.EmbedLinks, true);
  86. TestHelper(value, ChannelPermission.AttachFiles, true);
  87. TestHelper(value, ChannelPermission.ReadMessageHistory, true);
  88. TestHelper(value, ChannelPermission.MentionEveryone, true);
  89. TestHelper(value, ChannelPermission.UseExternalEmojis, true);
  90. TestHelper(value, ChannelPermission.ManageRoles, true);
  91. TestHelper(value, ChannelPermission.ManageWebhooks, true);
  92. TestHelper(value, ChannelPermission.Connect, false);
  93. TestHelper(value, ChannelPermission.Speak, false);
  94. TestHelper(value, ChannelPermission.MuteMembers, false);
  95. TestHelper(value, ChannelPermission.DeafenMembers, false);
  96. TestHelper(value, ChannelPermission.MoveMembers, false);
  97. TestHelper(value, ChannelPermission.UseVAD, false);
  98. return Task.CompletedTask;
  99. }
  100. /// <summary>
  101. /// Tests for the <see cref="Discord.Permissions"/> class.
  102. ///
  103. /// Tests that no channel permissions get the right value
  104. /// from the Has method.
  105. /// </summary>
  106. /// <returns></returns>
  107. [Fact]
  108. public Task TestPermissionsHasChannelPermissionNone()
  109. {
  110. // check that none will fail all
  111. var value = ChannelPermissions.None;
  112. TestHelper(value, ChannelPermission.CreateInstantInvite, false);
  113. TestHelper(value, ChannelPermission.ManageChannels, false);
  114. TestHelper(value, ChannelPermission.AddReactions, false);
  115. TestHelper(value, ChannelPermission.ViewChannel, false);
  116. TestHelper(value, ChannelPermission.SendMessages, false);
  117. TestHelper(value, ChannelPermission.SendTTSMessages, false);
  118. TestHelper(value, ChannelPermission.ManageMessages, false);
  119. TestHelper(value, ChannelPermission.EmbedLinks, false);
  120. TestHelper(value, ChannelPermission.AttachFiles, false);
  121. TestHelper(value, ChannelPermission.ReadMessageHistory, false);
  122. TestHelper(value, ChannelPermission.MentionEveryone, false);
  123. TestHelper(value, ChannelPermission.UseExternalEmojis, false);
  124. TestHelper(value, ChannelPermission.ManageRoles, false);
  125. TestHelper(value, ChannelPermission.ManageWebhooks, false);
  126. TestHelper(value, ChannelPermission.Connect, false);
  127. TestHelper(value, ChannelPermission.Speak, false);
  128. TestHelper(value, ChannelPermission.MuteMembers, false);
  129. TestHelper(value, ChannelPermission.DeafenMembers, false);
  130. TestHelper(value, ChannelPermission.MoveMembers, false);
  131. TestHelper(value, ChannelPermission.UseVAD, false);
  132. return Task.CompletedTask;
  133. }
  134. /// <summary>
  135. /// Tests for the <see cref="Discord.Permissions"/> class.
  136. ///
  137. /// Tests that the dm channel permissions get the right value
  138. /// from the Has method.
  139. /// </summary>
  140. /// <returns></returns>
  141. [Fact]
  142. public Task TestPermissionsHasChannelPermissionDM()
  143. {
  144. // check that none will fail all
  145. var value = ChannelPermissions.DM;
  146. TestHelper(value, ChannelPermission.CreateInstantInvite, false);
  147. TestHelper(value, ChannelPermission.ManageChannels, false);
  148. TestHelper(value, ChannelPermission.AddReactions, false);
  149. TestHelper(value, ChannelPermission.ViewChannel, true);
  150. TestHelper(value, ChannelPermission.SendMessages, true);
  151. TestHelper(value, ChannelPermission.SendTTSMessages, false);
  152. TestHelper(value, ChannelPermission.ManageMessages, false);
  153. TestHelper(value, ChannelPermission.EmbedLinks, true);
  154. TestHelper(value, ChannelPermission.AttachFiles, true);
  155. TestHelper(value, ChannelPermission.ReadMessageHistory, true);
  156. TestHelper(value, ChannelPermission.MentionEveryone, false);
  157. TestHelper(value, ChannelPermission.UseExternalEmojis, true);
  158. TestHelper(value, ChannelPermission.ManageRoles, false);
  159. TestHelper(value, ChannelPermission.ManageWebhooks, false);
  160. TestHelper(value, ChannelPermission.Connect, true);
  161. TestHelper(value, ChannelPermission.Speak, true);
  162. TestHelper(value, ChannelPermission.MuteMembers, false);
  163. TestHelper(value, ChannelPermission.DeafenMembers, false);
  164. TestHelper(value, ChannelPermission.MoveMembers, false);
  165. TestHelper(value, ChannelPermission.UseVAD, true);
  166. return Task.CompletedTask;
  167. }
  168. /// <summary>
  169. /// Tests for the <see cref="Discord.Permissions"/> class.
  170. ///
  171. /// Tests that the group channel permissions get the right value
  172. /// from the Has method.
  173. /// </summary>
  174. /// <returns></returns>
  175. [Fact]
  176. public Task TestPermissionsHasChannelPermissionGroup()
  177. {
  178. var value = ChannelPermissions.Group;
  179. TestHelper(value, ChannelPermission.CreateInstantInvite, false);
  180. TestHelper(value, ChannelPermission.ManageChannels, false);
  181. TestHelper(value, ChannelPermission.AddReactions, false);
  182. TestHelper(value, ChannelPermission.ViewChannel, false);
  183. TestHelper(value, ChannelPermission.SendMessages, true);
  184. TestHelper(value, ChannelPermission.SendTTSMessages, true);
  185. TestHelper(value, ChannelPermission.ManageMessages, false);
  186. TestHelper(value, ChannelPermission.EmbedLinks, true);
  187. TestHelper(value, ChannelPermission.AttachFiles, true);
  188. TestHelper(value, ChannelPermission.ReadMessageHistory, false);
  189. TestHelper(value, ChannelPermission.MentionEveryone, false);
  190. TestHelper(value, ChannelPermission.UseExternalEmojis, false);
  191. TestHelper(value, ChannelPermission.ManageRoles, false);
  192. TestHelper(value, ChannelPermission.ManageWebhooks, false);
  193. TestHelper(value, ChannelPermission.Connect, true);
  194. TestHelper(value, ChannelPermission.Speak, true);
  195. TestHelper(value, ChannelPermission.MuteMembers, false);
  196. TestHelper(value, ChannelPermission.DeafenMembers, false);
  197. TestHelper(value, ChannelPermission.MoveMembers, false);
  198. TestHelper(value, ChannelPermission.UseVAD, true);
  199. return Task.CompletedTask;
  200. }
  201. /// <summary>
  202. /// Tests for the <see cref="Discord.Permissions"/> class.
  203. ///
  204. /// Tests that the voice channel permissions get the right value
  205. /// from the Has method.
  206. /// </summary>
  207. /// <returns></returns>
  208. [Fact]
  209. public Task TestPermissionsHasChannelPermissionVoice()
  210. {
  211. // make a flag with all possible values for Voice channel permissions
  212. var value = ChannelPermissions.Voice;
  213. TestHelper(value, ChannelPermission.CreateInstantInvite, true);
  214. TestHelper(value, ChannelPermission.ManageChannels, true);
  215. TestHelper(value, ChannelPermission.AddReactions, false);
  216. TestHelper(value, ChannelPermission.ViewChannel, true);
  217. TestHelper(value, ChannelPermission.SendMessages, false);
  218. TestHelper(value, ChannelPermission.SendTTSMessages, false);
  219. TestHelper(value, ChannelPermission.ManageMessages, false);
  220. TestHelper(value, ChannelPermission.EmbedLinks, false);
  221. TestHelper(value, ChannelPermission.AttachFiles, false);
  222. TestHelper(value, ChannelPermission.ReadMessageHistory, false);
  223. TestHelper(value, ChannelPermission.MentionEveryone, false);
  224. TestHelper(value, ChannelPermission.UseExternalEmojis, false);
  225. TestHelper(value, ChannelPermission.ManageRoles, true);
  226. TestHelper(value, ChannelPermission.ManageWebhooks, false);
  227. TestHelper(value, ChannelPermission.Connect, true);
  228. TestHelper(value, ChannelPermission.Speak, true);
  229. TestHelper(value, ChannelPermission.MuteMembers, true);
  230. TestHelper(value, ChannelPermission.DeafenMembers, true);
  231. TestHelper(value, ChannelPermission.MoveMembers, true);
  232. TestHelper(value, ChannelPermission.UseVAD, true);
  233. return Task.CompletedTask;
  234. }
  235. /// <summary>
  236. /// Tests for the <see cref="Discord.Permissions"/> class.
  237. ///
  238. /// Test that that the Has method of <see cref="Discord.GuildPermissions"/>
  239. /// returns the correct value when no permissions are set.
  240. /// </summary>
  241. /// <returns></returns>
  242. [Fact]
  243. public Task TestPermissionsHasGuildPermissionNone()
  244. {
  245. var value = GuildPermissions.None;
  246. TestHelper(value, GuildPermission.CreateInstantInvite, false);
  247. TestHelper(value, GuildPermission.KickMembers, false);
  248. TestHelper(value, GuildPermission.BanMembers, false);
  249. TestHelper(value, GuildPermission.Administrator, false);
  250. TestHelper(value, GuildPermission.ManageChannels, false);
  251. TestHelper(value, GuildPermission.ManageGuild, false);
  252. TestHelper(value, GuildPermission.AddReactions, false);
  253. TestHelper(value, GuildPermission.ViewAuditLog, false);
  254. TestHelper(value, GuildPermission.ViewChannel, false);
  255. TestHelper(value, GuildPermission.SendMessages, false);
  256. TestHelper(value, GuildPermission.SendTTSMessages, false);
  257. TestHelper(value, GuildPermission.ManageMessages, false);
  258. TestHelper(value, GuildPermission.EmbedLinks, false);
  259. TestHelper(value, GuildPermission.AttachFiles, false);
  260. TestHelper(value, GuildPermission.ReadMessageHistory, false);
  261. TestHelper(value, GuildPermission.MentionEveryone, false);
  262. TestHelper(value, GuildPermission.UseExternalEmojis, false);
  263. TestHelper(value, GuildPermission.Connect, false);
  264. TestHelper(value, GuildPermission.Speak, false);
  265. TestHelper(value, GuildPermission.MuteMembers, false);
  266. TestHelper(value, GuildPermission.MoveMembers, false);
  267. TestHelper(value, GuildPermission.UseVAD, false);
  268. TestHelper(value, GuildPermission.ChangeNickname, false);
  269. TestHelper(value, GuildPermission.ManageNicknames, false);
  270. TestHelper(value, GuildPermission.ManageRoles, false);
  271. TestHelper(value, GuildPermission.ManageWebhooks, false);
  272. TestHelper(value, GuildPermission.ManageEmojis, false);
  273. return Task.CompletedTask;
  274. }
  275. /// <summary>
  276. /// Tests for the <see cref="Discord.Permissions"/> class.
  277. ///
  278. /// Test that that the Has method of <see cref="Discord.GuildPermissions"/>
  279. /// returns the correct value when all permissions are set.
  280. /// </summary>
  281. /// <returns></returns>
  282. [Fact]
  283. public Task TestPermissionsHasGuildPermissionAll()
  284. {
  285. var value = GuildPermissions.All;
  286. TestHelper(value, GuildPermission.CreateInstantInvite, true);
  287. TestHelper(value, GuildPermission.KickMembers, true);
  288. TestHelper(value, GuildPermission.BanMembers, true);
  289. TestHelper(value, GuildPermission.Administrator, true);
  290. TestHelper(value, GuildPermission.ManageChannels, true);
  291. TestHelper(value, GuildPermission.ManageGuild, true);
  292. TestHelper(value, GuildPermission.AddReactions, true);
  293. TestHelper(value, GuildPermission.ViewAuditLog, true);
  294. TestHelper(value, GuildPermission.ViewChannel, true);
  295. TestHelper(value, GuildPermission.SendMessages, true);
  296. TestHelper(value, GuildPermission.SendTTSMessages, true);
  297. TestHelper(value, GuildPermission.ManageMessages, true);
  298. TestHelper(value, GuildPermission.EmbedLinks, true);
  299. TestHelper(value, GuildPermission.AttachFiles, true);
  300. TestHelper(value, GuildPermission.ReadMessageHistory, true);
  301. TestHelper(value, GuildPermission.MentionEveryone, true);
  302. TestHelper(value, GuildPermission.UseExternalEmojis, true);
  303. TestHelper(value, GuildPermission.Connect, true);
  304. TestHelper(value, GuildPermission.Speak, true);
  305. TestHelper(value, GuildPermission.MuteMembers, true);
  306. TestHelper(value, GuildPermission.MoveMembers, true);
  307. TestHelper(value, GuildPermission.UseVAD, true);
  308. TestHelper(value, GuildPermission.ChangeNickname, true);
  309. TestHelper(value, GuildPermission.ManageNicknames, true);
  310. TestHelper(value, GuildPermission.ManageRoles, true);
  311. TestHelper(value, GuildPermission.ManageWebhooks, true);
  312. TestHelper(value, GuildPermission.ManageEmojis, true);
  313. return Task.CompletedTask;
  314. }
  315. /// <summary>
  316. /// Tests for the <see cref="Discord.Permissions"/> class.
  317. ///
  318. /// Test that that the Has method of <see cref="Discord.GuildPermissions"/>
  319. /// returns the correct value when webhook permissions are set.
  320. /// </summary>
  321. /// <returns></returns>
  322. [Fact]
  323. public Task TestPermissionsHasGuildPermissionWebhook()
  324. {
  325. var value = GuildPermissions.Webhook;
  326. TestHelper(value, GuildPermission.CreateInstantInvite, false);
  327. TestHelper(value, GuildPermission.KickMembers, false);
  328. TestHelper(value, GuildPermission.BanMembers, false);
  329. TestHelper(value, GuildPermission.Administrator, false);
  330. TestHelper(value, GuildPermission.ManageChannels, false);
  331. TestHelper(value, GuildPermission.ManageGuild, false);
  332. TestHelper(value, GuildPermission.AddReactions, false);
  333. TestHelper(value, GuildPermission.ViewAuditLog, false);
  334. TestHelper(value, GuildPermission.ViewChannel, false);
  335. TestHelper(value, GuildPermission.SendMessages, true);
  336. TestHelper(value, GuildPermission.SendTTSMessages, true);
  337. TestHelper(value, GuildPermission.ManageMessages, false);
  338. TestHelper(value, GuildPermission.EmbedLinks, true);
  339. TestHelper(value, GuildPermission.AttachFiles, true);
  340. TestHelper(value, GuildPermission.ReadMessageHistory, false);
  341. TestHelper(value, GuildPermission.MentionEveryone, false);
  342. TestHelper(value, GuildPermission.UseExternalEmojis, false);
  343. TestHelper(value, GuildPermission.Connect, false);
  344. TestHelper(value, GuildPermission.Speak, false);
  345. TestHelper(value, GuildPermission.MuteMembers, false);
  346. TestHelper(value, GuildPermission.MoveMembers, false);
  347. TestHelper(value, GuildPermission.UseVAD, false);
  348. TestHelper(value, GuildPermission.ChangeNickname, false);
  349. TestHelper(value, GuildPermission.ManageNicknames, false);
  350. TestHelper(value, GuildPermission.ManageRoles, false);
  351. TestHelper(value, GuildPermission.ManageWebhooks, false);
  352. TestHelper(value, GuildPermission.ManageEmojis, false);
  353. return Task.CompletedTask;
  354. }
  355. /// <summary>
  356. /// Test <see cref="Discord.OverwritePermissions"/>
  357. /// for when all text permissions are allowed and denied
  358. /// </summary>
  359. /// <returns></returns>
  360. [Fact]
  361. public Task TestOverwritePermissionsText()
  362. {
  363. // allow all for text channel
  364. var value = new OverwritePermissions(ChannelPermissions.Text.RawValue, ChannelPermissions.None.RawValue);
  365. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Allow);
  366. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Allow);
  367. TestHelper(value, ChannelPermission.AddReactions, PermValue.Allow);
  368. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Allow);
  369. TestHelper(value, ChannelPermission.SendMessages, PermValue.Allow);
  370. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Allow);
  371. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Allow);
  372. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Allow);
  373. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Allow);
  374. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Allow);
  375. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Allow);
  376. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Allow);
  377. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Allow);
  378. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Allow);
  379. TestHelper(value, ChannelPermission.Connect, PermValue.Inherit);
  380. TestHelper(value, ChannelPermission.Speak, PermValue.Inherit);
  381. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  382. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  383. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  384. TestHelper(value, ChannelPermission.UseVAD, PermValue.Inherit);
  385. value = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Text.RawValue);
  386. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Deny);
  387. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Deny);
  388. TestHelper(value, ChannelPermission.AddReactions, PermValue.Deny);
  389. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Deny);
  390. TestHelper(value, ChannelPermission.SendMessages, PermValue.Deny);
  391. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Deny);
  392. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Deny);
  393. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Deny);
  394. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Deny);
  395. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Deny);
  396. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Deny);
  397. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Deny);
  398. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Deny);
  399. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Deny);
  400. TestHelper(value, ChannelPermission.Connect, PermValue.Inherit);
  401. TestHelper(value, ChannelPermission.Speak, PermValue.Inherit);
  402. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  403. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  404. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  405. TestHelper(value, ChannelPermission.UseVAD, PermValue.Inherit);
  406. return Task.CompletedTask;
  407. }
  408. /// <summary>
  409. /// Test <see cref="Discord.OverwritePermissions"/>
  410. /// for when none of the permissions are set.
  411. /// </summary>
  412. /// <returns></returns>
  413. [Fact]
  414. public Task TestOverwritePermissionsNone()
  415. {
  416. // allow all for text channel
  417. var value = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.None.RawValue);
  418. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  419. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  420. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  421. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Inherit);
  422. TestHelper(value, ChannelPermission.SendMessages, PermValue.Inherit);
  423. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  424. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  425. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Inherit);
  426. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Inherit);
  427. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  428. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  429. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  430. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  431. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  432. TestHelper(value, ChannelPermission.Connect, PermValue.Inherit);
  433. TestHelper(value, ChannelPermission.Speak, PermValue.Inherit);
  434. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  435. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  436. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  437. TestHelper(value, ChannelPermission.UseVAD, PermValue.Inherit);
  438. value = new OverwritePermissions();
  439. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  440. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  441. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  442. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Inherit);
  443. TestHelper(value, ChannelPermission.SendMessages, PermValue.Inherit);
  444. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  445. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  446. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Inherit);
  447. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Inherit);
  448. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  449. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  450. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  451. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  452. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  453. TestHelper(value, ChannelPermission.Connect, PermValue.Inherit);
  454. TestHelper(value, ChannelPermission.Speak, PermValue.Inherit);
  455. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  456. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  457. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  458. TestHelper(value, ChannelPermission.UseVAD, PermValue.Inherit);
  459. value = OverwritePermissions.InheritAll;
  460. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  461. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  462. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  463. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Inherit);
  464. TestHelper(value, ChannelPermission.SendMessages, PermValue.Inherit);
  465. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  466. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  467. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Inherit);
  468. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Inherit);
  469. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  470. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  471. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  472. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  473. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  474. TestHelper(value, ChannelPermission.Connect, PermValue.Inherit);
  475. TestHelper(value, ChannelPermission.Speak, PermValue.Inherit);
  476. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  477. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  478. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  479. TestHelper(value, ChannelPermission.UseVAD, PermValue.Inherit);
  480. return Task.CompletedTask;
  481. }
  482. /// <summary>
  483. /// Test <see cref="Discord.OverwritePermissions"/>
  484. /// for when all dm permissions are allowed and denied
  485. /// </summary>
  486. /// <returns></returns>
  487. [Fact]
  488. public Task TestOverwritePermissionsDM()
  489. {
  490. // allow all for text channel
  491. var value = new OverwritePermissions(ChannelPermissions.DM.RawValue, ChannelPermissions.None.RawValue);
  492. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  493. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  494. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  495. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Allow);
  496. TestHelper(value, ChannelPermission.SendMessages, PermValue.Allow);
  497. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  498. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  499. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Allow);
  500. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Allow);
  501. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Allow);
  502. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  503. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Allow);
  504. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  505. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  506. TestHelper(value, ChannelPermission.Connect, PermValue.Allow);
  507. TestHelper(value, ChannelPermission.Speak, PermValue.Allow);
  508. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  509. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  510. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  511. TestHelper(value, ChannelPermission.UseVAD, PermValue.Allow);
  512. value = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.DM.RawValue);
  513. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  514. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  515. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  516. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Deny);
  517. TestHelper(value, ChannelPermission.SendMessages, PermValue.Deny);
  518. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  519. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  520. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Deny);
  521. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Deny);
  522. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Deny);
  523. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  524. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Deny);
  525. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  526. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  527. TestHelper(value, ChannelPermission.Connect, PermValue.Deny);
  528. TestHelper(value, ChannelPermission.Speak, PermValue.Deny);
  529. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  530. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  531. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  532. TestHelper(value, ChannelPermission.UseVAD, PermValue.Deny);
  533. return Task.CompletedTask;
  534. }
  535. /// <summary>
  536. /// Test <see cref="Discord.OverwritePermissions"/>
  537. /// for when all group permissions are allowed and denied
  538. /// </summary>
  539. /// <returns></returns>
  540. [Fact]
  541. public Task TestOverwritePermissionsGroup()
  542. {
  543. // allow all for group channels
  544. var value = new OverwritePermissions(ChannelPermissions.Group.RawValue, ChannelPermissions.None.RawValue);
  545. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  546. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  547. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  548. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Inherit);
  549. TestHelper(value, ChannelPermission.SendMessages, PermValue.Allow);
  550. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Allow);
  551. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  552. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Allow);
  553. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Allow);
  554. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  555. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  556. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  557. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  558. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  559. TestHelper(value, ChannelPermission.Connect, PermValue.Allow);
  560. TestHelper(value, ChannelPermission.Speak, PermValue.Allow);
  561. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  562. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  563. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  564. TestHelper(value, ChannelPermission.UseVAD, PermValue.Allow);
  565. value = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Group.RawValue);
  566. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Inherit);
  567. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Inherit);
  568. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  569. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Inherit);
  570. TestHelper(value, ChannelPermission.SendMessages, PermValue.Deny);
  571. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Deny);
  572. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  573. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Deny);
  574. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Deny);
  575. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  576. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  577. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  578. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Inherit);
  579. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  580. TestHelper(value, ChannelPermission.Connect, PermValue.Deny);
  581. TestHelper(value, ChannelPermission.Speak, PermValue.Deny);
  582. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Inherit);
  583. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Inherit);
  584. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Inherit);
  585. TestHelper(value, ChannelPermission.UseVAD, PermValue.Deny);
  586. return Task.CompletedTask;
  587. }
  588. /// <summary>
  589. /// Test <see cref="Discord.OverwritePermissions"/>
  590. /// for when all group permissions are allowed and denied
  591. /// </summary>
  592. /// <returns></returns>
  593. [Fact]
  594. public Task TestOverwritePermissionsVoice()
  595. {
  596. // allow all for group channels
  597. var value = new OverwritePermissions(ChannelPermissions.Voice.RawValue, ChannelPermissions.None.RawValue);
  598. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Allow);
  599. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Allow);
  600. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  601. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Allow);
  602. TestHelper(value, ChannelPermission.SendMessages, PermValue.Inherit);
  603. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  604. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  605. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Inherit);
  606. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Inherit);
  607. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  608. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  609. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  610. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Allow);
  611. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  612. TestHelper(value, ChannelPermission.Connect, PermValue.Allow);
  613. TestHelper(value, ChannelPermission.Speak, PermValue.Allow);
  614. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Allow);
  615. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Allow);
  616. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Allow);
  617. TestHelper(value, ChannelPermission.UseVAD, PermValue.Allow);
  618. value = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Voice.RawValue);
  619. TestHelper(value, ChannelPermission.CreateInstantInvite, PermValue.Deny);
  620. TestHelper(value, ChannelPermission.ManageChannels, PermValue.Deny);
  621. TestHelper(value, ChannelPermission.AddReactions, PermValue.Inherit);
  622. TestHelper(value, ChannelPermission.ViewChannel, PermValue.Deny);
  623. TestHelper(value, ChannelPermission.SendMessages, PermValue.Inherit);
  624. TestHelper(value, ChannelPermission.SendTTSMessages, PermValue.Inherit);
  625. TestHelper(value, ChannelPermission.ManageMessages, PermValue.Inherit);
  626. TestHelper(value, ChannelPermission.EmbedLinks, PermValue.Inherit);
  627. TestHelper(value, ChannelPermission.AttachFiles, PermValue.Inherit);
  628. TestHelper(value, ChannelPermission.ReadMessageHistory, PermValue.Inherit);
  629. TestHelper(value, ChannelPermission.MentionEveryone, PermValue.Inherit);
  630. TestHelper(value, ChannelPermission.UseExternalEmojis, PermValue.Inherit);
  631. TestHelper(value, ChannelPermission.ManageRoles, PermValue.Deny);
  632. TestHelper(value, ChannelPermission.ManageWebhooks, PermValue.Inherit);
  633. TestHelper(value, ChannelPermission.Connect, PermValue.Deny);
  634. TestHelper(value, ChannelPermission.Speak, PermValue.Deny);
  635. TestHelper(value, ChannelPermission.MuteMembers, PermValue.Deny);
  636. TestHelper(value, ChannelPermission.DeafenMembers, PermValue.Deny);
  637. TestHelper(value, ChannelPermission.MoveMembers, PermValue.Deny);
  638. TestHelper(value, ChannelPermission.UseVAD, PermValue.Deny);
  639. return Task.CompletedTask;
  640. }
  641. /// <summary>
  642. /// Tests for the <see cref="OverwritePermissions.Modify(PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?, PermValue?)"/>
  643. /// method to ensure that the default no-param call does not modify the resulting value
  644. /// of the OverwritePermissions.
  645. /// </summary>
  646. /// <returns></returns>
  647. [Fact]
  648. public Task TestOverwritePermissionModifyNoParam()
  649. {
  650. // test for all Text allowed, none denied
  651. var original = new OverwritePermissions(ChannelPermissions.Text.RawValue, ChannelPermissions.None.RawValue);
  652. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  653. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  654. // none allowed, text denied
  655. original = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Text.RawValue);
  656. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  657. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  658. // category allowed, none denied
  659. original = new OverwritePermissions(ChannelPermissions.Category.RawValue, ChannelPermissions.None.RawValue);
  660. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  661. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  662. // none allowed, category denied
  663. original = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Category.RawValue);
  664. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  665. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  666. // DM allowed, none denied
  667. original = new OverwritePermissions(ChannelPermissions.DM.RawValue, ChannelPermissions.None.RawValue);
  668. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  669. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  670. // none allowed, DM denied
  671. original = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.DM.RawValue);
  672. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  673. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  674. // voice allowed, none denied
  675. original = new OverwritePermissions(ChannelPermissions.Voice.RawValue, ChannelPermissions.None.RawValue);
  676. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  677. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  678. // none allowed, voice denied
  679. original = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Voice.RawValue);
  680. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  681. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  682. // group allowed, none denied
  683. original = new OverwritePermissions(ChannelPermissions.Group.RawValue, ChannelPermissions.None.RawValue);
  684. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  685. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  686. // none allowed, group denied
  687. original = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.Group.RawValue);
  688. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  689. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  690. // none allowed, none denied
  691. original = new OverwritePermissions(ChannelPermissions.None.RawValue, ChannelPermissions.None.RawValue);
  692. Assert.Equal(original.AllowValue, original.Modify().AllowValue);
  693. Assert.Equal(original.DenyValue, original.Modify().DenyValue);
  694. return Task.CompletedTask;
  695. }
  696. }
  697. }