Christopher F
beb2cea232
Added GetChannels extension to WebSocket->IGuild
Adds a sync method to retrieve all cached IGuildChannels on an IGuild.
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
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
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
Christopher F
de7e59e1b7
Ignore CHANNEL_PINS_UPDATE
This gateway event is raised when a message in a GuildChannel is pinned or unpinned. Unfortunately, this event only contains a timestamp of when the pin was changed, making it effectively useless. As a result, it will be dropped.
Resolves #135
9 years ago
Christopher F
c8be07c652
Merge branch 'dev' of https://github.com/RogueException/Discord.Net into dev
9 years ago
RogueException
3d34e490a9
Added jitter to reconnect because abala
9 years ago
Christopher F
1510616057
Merge branch 'dev' of https://github.com/RogueException/Discord.Net into dev
9 years ago
RogueException
ccca3ad027
Merge pull request #147 from DigiTechs/dev
Ignore static constructors when creating types
9 years ago
Finite Reality
2f0881460c
Ignore static constructors when creating types
9 years ago
RogueException
dd0d94645e
Don't nullref if SelfUser.ModifyStatusAsync receives a null game
9 years ago
RogueException
a50d6a774f
Changed new model fields to properties
9 years ago
RogueException
63932e55e8
Cleaned up API params objs, hid Optionals.
9 years ago
RogueException
6fe02bf033
Added a few missing primitive parsers
9 years ago
RogueException
4a06753990
Cleaned up TypeReaders
9 years ago
RogueException
c8a84a05b8
IPrivateChannel should extend IChannel
9 years ago
RogueException
e8b95519da
Cleaned up clients and configs. Renamed DiscordClient -> DiscordRestClient.
9 years ago
RogueException
dc06a17cd3
Renamed DiscordClient -> DiscordRestClient
9 years ago
RogueException
f0a6899bc7
Cleaned up WebSocket entities. Renamed CachedXXX -> SocketXXX.
9 years ago
RogueException
12c43cdf80
Remove ICachedEntity
9 years ago