feature: Remove /users/@me call for socket and rework sharded client a bit (#1860)

* Remove /users/@me call for socket and rework sharded client a bit

* Remove override for login
This commit is contained in:
Paulo
2021-05-28 18:40:39 -03:00
committed by GitHub
parent de7f9b5eff
commit 384ad85c64
3 changed files with 4 additions and 15 deletions

View File

@@ -47,7 +47,7 @@ namespace Discord.WebSocket
/// <summary>
/// Gets the current logged-in user.
/// </summary>
public new SocketSelfUser CurrentUser { get => base.CurrentUser as SocketSelfUser; protected set => base.CurrentUser = value; }
public virtual new SocketSelfUser CurrentUser { get => base.CurrentUser as SocketSelfUser; protected set => base.CurrentUser = value; }
/// <summary>
/// Gets a collection of guilds that the user is currently in.
/// </summary>