| @@ -15,7 +15,7 @@ namespace Discord.Audio | |||||
| private ConcurrentDictionary<User, bool> _talkingUsers; | private ConcurrentDictionary<User, bool> _talkingUsers; | ||||
| private int _nextClientId; | private int _nextClientId; | ||||
| internal DiscordClient Client { get; private set; } | |||||
| public DiscordClient Client { get; private set; } | |||||
| public AudioServiceConfig Config { get; } | public AudioServiceConfig Config { get; } | ||||
| public event EventHandler Connected = delegate { }; | public event EventHandler Connected = delegate { }; | ||||
| @@ -46,7 +46,7 @@ namespace Discord | |||||
| private readonly ConcurrentDictionary<ulong, Message> _messages; | private readonly ConcurrentDictionary<ulong, Message> _messages; | ||||
| private Dictionary<ulong, PermissionOverwrite> _permissionOverwrites; | private Dictionary<ulong, PermissionOverwrite> _permissionOverwrites; | ||||
| internal DiscordClient Client { get; } | |||||
| public DiscordClient Client { get; } | |||||
| /// <summary> Gets the unique identifier for this channel. </summary> | /// <summary> Gets the unique identifier for this channel. </summary> | ||||
| public ulong Id { get; } | public ulong Id { get; } | ||||
| @@ -61,7 +61,7 @@ namespace Discord | |||||
| } | } | ||||
| } | } | ||||
| internal DiscordClient Client { get; } | |||||
| public DiscordClient Client { get; } | |||||
| /// <summary> Gets the unique code for this invite. </summary> | /// <summary> Gets the unique code for this invite. </summary> | ||||
| public string Code { get; } | public string Code { get; } | ||||
| @@ -169,7 +169,7 @@ namespace Discord | |||||
| internal File() { } | internal File() { } | ||||
| } | } | ||||
| internal DiscordClient Client => Channel.Client; | |||||
| public DiscordClient Client => Channel.Client; | |||||
| /// <summary> Returns the unique identifier for this message. </summary> | /// <summary> Returns the unique identifier for this message. </summary> | ||||
| public ulong Id { get; internal set; } | public ulong Id { get; internal set; } | ||||
| @@ -10,7 +10,7 @@ namespace Discord | |||||
| { | { | ||||
| private readonly static Action<Profile, Profile> _cloner = DynamicIL.CreateCopyMethod<Profile>(); | private readonly static Action<Profile, Profile> _cloner = DynamicIL.CreateCopyMethod<Profile>(); | ||||
| internal DiscordClient Client { get; } | |||||
| public DiscordClient Client { get; } | |||||
| /// <summary> Gets the unique identifier for this user. </summary> | /// <summary> Gets the unique identifier for this user. </summary> | ||||
| public ulong Id { get; } | public ulong Id { get; } | ||||
| @@ -13,7 +13,7 @@ namespace Discord | |||||
| { | { | ||||
| private readonly static Action<Role, Role> _cloner = DynamicIL.CreateCopyMethod<Role>(); | private readonly static Action<Role, Role> _cloner = DynamicIL.CreateCopyMethod<Role>(); | ||||
| internal DiscordClient Client => Server.Client; | |||||
| public DiscordClient Client => Server.Client; | |||||
| /// <summary> Gets the unique identifier for this role. </summary> | /// <summary> Gets the unique identifier for this role. </summary> | ||||
| public ulong Id { get; } | public ulong Id { get; } | ||||
| @@ -52,8 +52,8 @@ namespace Discord | |||||
| private readonly ConcurrentDictionary<ulong, Channel> _channels; | private readonly ConcurrentDictionary<ulong, Channel> _channels; | ||||
| private ulong _ownerId; | private ulong _ownerId; | ||||
| private ulong? _afkChannelId; | private ulong? _afkChannelId; | ||||
| internal DiscordClient Client { get; } | |||||
| public DiscordClient Client { get; } | |||||
| /// <summary> Gets the unique identifier for this server. </summary> | /// <summary> Gets the unique identifier for this server. </summary> | ||||
| public ulong Id { get; } | public ulong Id { get; } | ||||
| @@ -46,8 +46,8 @@ namespace Discord | |||||
| private DateTime? _lastOnline; | private DateTime? _lastOnline; | ||||
| private ulong? _voiceChannelId; | private ulong? _voiceChannelId; | ||||
| private Dictionary<ulong, Role> _roles; | private Dictionary<ulong, Role> _roles; | ||||
| internal DiscordClient Client { get; } | |||||
| public DiscordClient Client { get; } | |||||
| /// <summary> Gets the unique identifier for this user. </summary> | /// <summary> Gets the unique identifier for this user. </summary> | ||||
| public ulong Id { get; } | public ulong Id { get; } | ||||