RogueException
8da907a9be
Merge pull request #162 from RogueException/issues/146
Added Extension Methods for WebSocket
9 years ago
Christopher F
c54f6addd2
Replace IEnumerable with IReadonlyCollection where possible
9 years ago
RogueException
a04cf5201a
Cleaned up params implementation
9 years ago
Finite Reality
6732e256fb
Clean up a little
9 years ago
Finite Reality
5ce609c323
Fix small typo
9 years ago
Finite Reality
c8fc0ffa33
Add support for 'params' arguments
9 years ago
Christopher F
3c5788bbfc
Added GetUsers extensions to WebSocket->Channel
Cached Channels keep a local cache of the members of that channel. This commit adds a synchronus method to access the cached user stores.
It also fixes a bug where the GetUser extension would return an IGroupUser by soft-casting to IGroupUser, which would always return null. ISocketUser does not share an inheritance with IGroupUser, so I now return IUser instead.
9 years ago
Christopher F
beb2cea232
Added GetChannels extension to WebSocket->IGuild
Adds a sync method to retrieve all cached IGuildChannels on an IGuild.
9 years ago
Khionu Terabite
724dbf0abf
Merge pull request #163 from RogueException/khio-patch
Added `Command.Synopsis`
9 years ago
Khionu Terabite
846a1746a2
Added `Command.Synopsis` for seperation of short and long descriptions, this being intended for long.
9 years ago
Christopher F
e5909c49bd
Added extension methods for WebSocket->Channels
For users importing `Discord.WebSocket.Extensions`, there are now non-async extensions for GetUser.
These methods point to the appropriate method on the respective SocketgChannel.
9 years ago
RogueException
15dd6016e7
Fixed several CommandParameter nullrefs
9 years ago
RogueException
02d5fc4a8e
Exposed CommandParameter's Type
9 years ago
RogueException
c678432b1a
Moved reconnect's Disconnect call to its separate task
9 years ago
RogueException
2912107c35
Removed IGuild.CreateInviteAsync
9 years ago
RogueException
7df5fa9371
Merge pull request #157 from RogueException/issues/153
Remove all references to XKCD URLs in Invites
9 years ago
RogueException
3077249705
Fixed parsing errors when the first argument is on a new line
9 years ago
Christopher F
ee7bf028f7
Adjust GuildExtensions per Voltana's feedback
Instead of implicitly soft-casting IGuild to SocketGuild, I added a method to soft-cast IGuild to SocketGuild, and throw an InvalidOp if it came up null for some reason.
GetUsers was changed from an IEnumerable to an IReadOnlyCollection to allow quick ".Count"-ing on the collection.
9 years ago
Christopher F
326686d26a
Add Extension Methods for WebSocket->IGuild
For users importing `Discord.WebSocket.Extensions`, there are now non-async extensions for Get(Type)Channel(s) and Get(Current)User(s).
These methods point to the appropriate method or member on SocketGuild.
9 years ago
Christopher F
75802403b5
Remove all references to XKCD URLs in Invites
Resolves #153
This is a breaking change!
With the introduction of Vanity URLs and the shortening of Invite URLs, the API appears to have removed the "xkcdpass" field of the Invite.
Since this functionality was removed from the Discord API and thus obsolete, it has been removed from the Invite models.
9 years ago
RogueException
c5569a44ea
Renamed Unparsed -> Remainder. Fixed non-string remainder parameters.
9 years ago
Christopher F
f552c37cfe
Merged branch dev into dev
9 years ago
Christopher F
af4ede31b8
Fix Samples on Docs; Fix Links on Docs; add FAQ page to docs
9 years ago
RogueException
4088ec7fa3
Minor reconnect bugfix, removed unused variables
9 years ago
Christopher F
dc58f92333
Merge branch 'dev' of https://github.com/RogueException/Discord.Net into dev
9 years ago
RogueException
7a36da2b58
Moved REST internal classes
9 years ago
RogueException
260a0153f4
Moved Rpc/WebSocket entities, fixed nullref on RPC message events
9 years ago
RogueException
79f11455b9
Added logging for RPC events
9 years ago
RogueException
6d2a30a739
Fixed typo
9 years ago
RogueException
ab9e70dc67
Added RPC Subscription funcs and Message Events
9 years ago
RogueException
934d080be5
Started adding Rpc events
9 years ago
RogueException
c565bdf55b
Reorganized classes into Rpc/Rest/WebSocket namespaces
9 years ago
RogueException
73d4233684
Removed DiscordRpcClient's second log header
9 years ago
RogueException
848ffc71ad
Cleaned up DiscordConfig.Version
9 years ago
RogueException
942c3bf0bc
Merge pull request #156 from Carbonitex/Sharding
Added Sharding support
9 years ago
matt
4e75b086e1
Using Optional<T> now.
9 years ago
matt
80bfe56322
Added Sharding support
9 years ago
matt
9b34e4f2b3
Null check wasn't picking up the slack when InformationVersion is not found.
9 years ago
RogueException
ff017bd51f
Remove string check for unparsed
9 years ago
RogueException
0fc771cc5c
Add rpcToken to DiscordRpcClient.AuthorizeAsync
9 years ago
RogueException
70ad0f9a66
Fixed RPC proxied requests
9 years ago
RogueException
e4569f1a39
Added RpcToken param
9 years ago
RogueException
c8db35cc4e
Fixed encoding error when requesting members
9 years ago
RogueException
03e5b9a8d5
Fixed bad RPC proxy url
9 years ago
RogueException
b95f2095ef
Further separated Rest/Rpc/Socket logic, added separate improvements from SocketClient
9 years ago
RogueException
60f3b3f6cb
Isolated Rpc's AuthorizeAsync
9 years ago
RogueException
0664442bf1
Implemented support for RPC responses and errors, fixed several bugs
9 years ago
RogueException
4a8b73f3fb
Initial RPC commit, Added Authorize and Authenticate
9 years ago
RogueException
366c3bb50e
Use users/@me for token validation
9 years ago
RogueException
6514a387dc
Merge pull request #149 from RogueException/issues/135
Ignore CHANNEL_PINS_UPDATE
9 years ago