Exposed DiscordSocketClient.Guilds
This commit is contained in:
@@ -55,8 +55,8 @@ namespace Discord.WebSocket
|
||||
|
||||
public new DiscordSocketApiClient ApiClient => base.ApiClient as DiscordSocketApiClient;
|
||||
public new SocketSelfUser CurrentUser { get { return base.CurrentUser as SocketSelfUser; } private set { base.CurrentUser = value; } }
|
||||
public IReadOnlyCollection<SocketGuild> Guilds => State.Guilds;
|
||||
public IReadOnlyCollection<ISocketPrivateChannel> PrivateChannels => State.PrivateChannels;
|
||||
internal IReadOnlyCollection<SocketGuild> Guilds => State.Guilds;
|
||||
|
||||
/// <summary> Creates a new REST/WebSocket discord client. </summary>
|
||||
public DiscordSocketClient() : this(new DiscordSocketConfig()) { }
|
||||
|
||||
Reference in New Issue
Block a user