@@ -4,6 +4,7 @@ using Discord.API.Rest; | |||||
using Discord.Net.Queue; | using Discord.Net.Queue; | ||||
using Discord.Net.Rest; | using Discord.Net.Rest; | ||||
using Discord.Net.WebSockets; | using Discord.Net.WebSockets; | ||||
using Discord.WebSocket; | |||||
using Newtonsoft.Json; | using Newtonsoft.Json; | ||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
@@ -3,7 +3,7 @@ using System; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Application; | using Model = Discord.API.Application; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal class Application : SnowflakeEntity, IApplication | internal class Application : SnowflakeEntity, IApplication | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
using Discord.API.Rest; | using Discord.API.Rest; | ||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
@@ -9,7 +8,7 @@ using System.Linq; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class DMChannel : SnowflakeEntity, IDMChannel | internal class DMChannel : SnowflakeEntity, IDMChannel | ||||
@@ -1,5 +1,4 @@ | |||||
using Discord.API.Rest; | using Discord.API.Rest; | ||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Collections.Concurrent; | using System.Collections.Concurrent; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
@@ -10,7 +9,7 @@ using System.Linq; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class GroupChannel : SnowflakeEntity, IGroupChannel | internal class GroupChannel : SnowflakeEntity, IGroupChannel | ||||
@@ -1,5 +1,4 @@ | |||||
using Discord.API.Rest; | using Discord.API.Rest; | ||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
@@ -8,7 +7,7 @@ using System.Linq; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal abstract class GuildChannel : SnowflakeEntity, IGuildChannel | internal abstract class GuildChannel : SnowflakeEntity, IGuildChannel | ||||
@@ -8,7 +8,7 @@ using System.Linq; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class TextChannel : GuildChannel, ITextChannel | internal class TextChannel : GuildChannel, ITextChannel | ||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks; | |||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
using Discord.Audio; | using Discord.Audio; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class VoiceChannel : GuildChannel, IVoiceChannel | internal class VoiceChannel : GuildChannel, IVoiceChannel | ||||
@@ -1,6 +1,6 @@ | |||||
using Discord.Rest; | using Discord.Rest; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal abstract class Entity<T> : IEntity<T> | internal abstract class Entity<T> : IEntity<T> | ||||
{ | { | ||||
@@ -12,7 +12,7 @@ using EmbedModel = Discord.API.GuildEmbed; | |||||
using Model = Discord.API.Guild; | using Model = Discord.API.Guild; | ||||
using RoleModel = Discord.API.Role; | using RoleModel = Discord.API.Role; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class Guild : SnowflakeEntity, IGuild | internal class Guild : SnowflakeEntity, IGuild | ||||
@@ -5,7 +5,7 @@ using System.Diagnostics; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Integration; | using Model = Discord.API.Integration; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class GuildIntegration : Entity<ulong>, IGuildIntegration | internal class GuildIntegration : Entity<ulong>, IGuildIntegration | ||||
@@ -3,7 +3,7 @@ using System.Diagnostics; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.UserGuild; | using Model = Discord.API.UserGuild; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class UserGuild : SnowflakeEntity, IUserGuild | internal class UserGuild : SnowflakeEntity, IUserGuild | ||||
@@ -1,7 +1,7 @@ | |||||
using System.Diagnostics; | using System.Diagnostics; | ||||
using Model = Discord.API.VoiceRegion; | using Model = Discord.API.VoiceRegion; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay("{DebuggerDisplay,nq}")] | [DebuggerDisplay("{DebuggerDisplay,nq}")] | ||||
internal class VoiceRegion : IVoiceRegion | internal class VoiceRegion : IVoiceRegion | ||||
@@ -3,7 +3,7 @@ using System.Diagnostics; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Invite; | using Model = Discord.API.Invite; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class Invite : Entity<string>, IInvite | internal class Invite : Entity<string>, IInvite | ||||
@@ -2,7 +2,7 @@ | |||||
using System; | using System; | ||||
using Model = Discord.API.InviteMetadata; | using Model = Discord.API.InviteMetadata; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal class InviteMetadata : Invite, IInviteMetadata | internal class InviteMetadata : Invite, IInviteMetadata | ||||
{ | { | ||||
@@ -1,6 +1,6 @@ | |||||
using Model = Discord.API.Attachment; | using Model = Discord.API.Attachment; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal class Attachment : IAttachment | internal class Attachment : IAttachment | ||||
{ | { | ||||
@@ -1,6 +1,6 @@ | |||||
using Model = Discord.API.Embed; | using Model = Discord.API.Embed; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal class Embed : IEmbed | internal class Embed : IEmbed | ||||
{ | { | ||||
@@ -7,7 +7,7 @@ using System.Diagnostics; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Message; | using Model = Discord.API.Message; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class Message : SnowflakeEntity, IMessage | internal class Message : SnowflakeEntity, IMessage | ||||
@@ -5,7 +5,7 @@ using System.Diagnostics; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Role; | using Model = Discord.API.Role; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class Role : SnowflakeEntity, IRole, IMentionable | internal class Role : SnowflakeEntity, IRole, IMentionable | ||||
@@ -1,6 +1,6 @@ | |||||
using System; | using System; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal abstract class SnowflakeEntity : Entity<ulong>, ISnowflakeEntity | internal abstract class SnowflakeEntity : Entity<ulong>, ISnowflakeEntity | ||||
{ | { | ||||
@@ -2,7 +2,7 @@ | |||||
using System.Diagnostics; | using System.Diagnostics; | ||||
using Model = Discord.API.Connection; | using Model = Discord.API.Connection; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] | [DebuggerDisplay(@"{DebuggerDisplay,nq}")] | ||||
internal class Connection : IConnection | internal class Connection : IConnection | ||||
@@ -3,7 +3,7 @@ using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal class GroupUser : IGroupUser | internal class GroupUser : IGroupUser | ||||
{ | { | ||||
@@ -9,7 +9,7 @@ using System.Threading.Tasks; | |||||
using Model = Discord.API.GuildMember; | using Model = Discord.API.GuildMember; | ||||
using PresenceModel = Discord.API.Presence; | using PresenceModel = Discord.API.Presence; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay("{DebuggerDisplay,nq}")] | [DebuggerDisplay("{DebuggerDisplay,nq}")] | ||||
internal class GuildUser : IGuildUser, ISnowflakeEntity | internal class GuildUser : IGuildUser, ISnowflakeEntity | ||||
@@ -4,7 +4,7 @@ using System; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.User; | using Model = Discord.API.User; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
internal class SelfUser : User, ISelfUser | internal class SelfUser : User, ISelfUser | ||||
{ | { | ||||
@@ -3,7 +3,7 @@ using System; | |||||
using System.Diagnostics; | using System.Diagnostics; | ||||
using Model = Discord.API.User; | using Model = Discord.API.User; | ||||
namespace Discord | |||||
namespace Discord.Rest | |||||
{ | { | ||||
[DebuggerDisplay("{DebuggerDisplay,nq}")] | [DebuggerDisplay("{DebuggerDisplay,nq}")] | ||||
internal class User : SnowflakeEntity, IUser | internal class User : SnowflakeEntity, IUser | ||||
@@ -3,7 +3,7 @@ using System.Collections.Concurrent; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Linq; | using System.Linq; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class DataStore | internal class DataStore | ||||
{ | { |
@@ -2,7 +2,7 @@ | |||||
using Discord.Net.WebSockets; | using Discord.Net.WebSockets; | ||||
using Discord.Rest; | using Discord.Rest; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
public class DiscordSocketConfig : DiscordRestConfig | public class DiscordSocketConfig : DiscordRestConfig | ||||
{ | { | ||||
@@ -1,6 +1,6 @@ | |||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal interface ISocketChannel : IChannel | internal interface ISocketChannel : IChannel | ||||
{ | { | ||||
@@ -1,4 +1,4 @@ | |||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal interface ISocketGuildChannel : ISocketChannel, IGuildChannel | internal interface ISocketGuildChannel : ISocketChannel, IGuildChannel | ||||
{ | { | ||||
@@ -1,7 +1,7 @@ | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using MessageModel = Discord.API.Message; | using MessageModel = Discord.API.Message; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal interface ISocketMessageChannel : ISocketChannel, IMessageChannel | internal interface ISocketMessageChannel : ISocketChannel, IMessageChannel | ||||
{ | { | ||||
@@ -1,6 +1,6 @@ | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal interface ISocketPrivateChannel : ISocketChannel, IPrivateChannel | internal interface ISocketPrivateChannel : ISocketChannel, IPrivateChannel | ||||
{ | { | ||||
@@ -1,13 +1,11 @@ | |||||
using Discord.Rest; | |||||
using Discord.WebSocket; | |||||
using System; | |||||
using System; | |||||
using System.Collections.Concurrent; | using System.Collections.Concurrent; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class MessageCache : MessageManager | internal class MessageCache : MessageManager | ||||
{ | { | ||||
@@ -1,13 +1,12 @@ | |||||
using Discord.API.Rest; | using Discord.API.Rest; | ||||
using Discord.Rest; | using Discord.Rest; | ||||
using Discord.WebSocket; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
using System.Linq; | using System.Linq; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class MessageManager | internal class MessageManager | ||||
{ | { | ||||
@@ -1,11 +1,11 @@ | |||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using MessageModel = Discord.API.Message; | using MessageModel = Discord.API.Message; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketDMChannel : DMChannel, IDMChannel, ISocketChannel, ISocketMessageChannel, ISocketPrivateChannel | internal class SocketDMChannel : DMChannel, IDMChannel, ISocketChannel, ISocketMessageChannel, ISocketPrivateChannel | ||||
{ | { | ||||
@@ -1,4 +1,4 @@ | |||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System.Collections.Concurrent; | using System.Collections.Concurrent; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
@@ -9,7 +9,7 @@ using Model = Discord.API.Channel; | |||||
using UserModel = Discord.API.User; | using UserModel = Discord.API.User; | ||||
using VoiceStateModel = Discord.API.VoiceState; | using VoiceStateModel = Discord.API.VoiceState; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketGroupChannel : GroupChannel, IGroupChannel, ISocketChannel, ISocketMessageChannel, ISocketPrivateChannel | internal class SocketGroupChannel : GroupChannel, IGroupChannel, ISocketChannel, ISocketMessageChannel, ISocketPrivateChannel | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
using Discord.Rest; | using Discord.Rest; | ||||
using Discord.WebSocket; | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
using System.Linq; | using System.Linq; | ||||
@@ -7,7 +6,7 @@ using System.Threading.Tasks; | |||||
using MessageModel = Discord.API.Message; | using MessageModel = Discord.API.Message; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketTextChannel : TextChannel, ISocketGuildChannel, ISocketMessageChannel | internal class SocketTextChannel : TextChannel, ISocketGuildChannel, ISocketMessageChannel | ||||
{ | { | ||||
@@ -1,5 +1,5 @@ | |||||
using Discord.Audio; | using Discord.Audio; | ||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Collections.Immutable; | using System.Collections.Immutable; | ||||
@@ -7,7 +7,7 @@ using System.Linq; | |||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.Channel; | using Model = Discord.API.Channel; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketVoiceChannel : VoiceChannel, ISocketGuildChannel | internal class SocketVoiceChannel : VoiceChannel, ISocketGuildChannel | ||||
{ | { | ||||
@@ -1,5 +1,5 @@ | |||||
using Discord.Audio; | using Discord.Audio; | ||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Collections.Concurrent; | using System.Collections.Concurrent; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
@@ -17,7 +17,7 @@ using PresenceModel = Discord.API.Presence; | |||||
using RoleModel = Discord.API.Role; | using RoleModel = Discord.API.Role; | ||||
using VoiceStateModel = Discord.API.VoiceState; | using VoiceStateModel = Discord.API.VoiceState; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketGuild : Guild, IGuild, IUserGuild | internal class SocketGuild : Guild, IGuild, IUserGuild | ||||
{ | { | ||||
@@ -1,7 +1,7 @@ | |||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using Model = Discord.API.Message; | using Model = Discord.API.Message; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketMessage : Message | internal class SocketMessage : Message | ||||
{ | { | ||||
@@ -1,4 +1,4 @@ | |||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal interface ISocketUser : IUser, IEntity<ulong> | internal interface ISocketUser : IUser, IEntity<ulong> | ||||
{ | { | ||||
@@ -1,4 +1,4 @@ | |||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
//TODO: C#7 Candidate for record type | //TODO: C#7 Candidate for record type | ||||
internal struct Presence : IPresence | internal struct Presence : IPresence | ||||
@@ -1,9 +1,8 @@ | |||||
using Discord.WebSocket; | |||||
using System; | |||||
using System; | |||||
using System.Diagnostics; | using System.Diagnostics; | ||||
using PresenceModel = Discord.API.Presence; | using PresenceModel = Discord.API.Presence; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
[DebuggerDisplay("{DebuggerDisplay,nq}")] | [DebuggerDisplay("{DebuggerDisplay,nq}")] | ||||
internal class SocketDMUser : ISocketUser | internal class SocketDMUser : ISocketUser | ||||
@@ -1,9 +1,9 @@ | |||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using Model = Discord.API.User; | using Model = Discord.API.User; | ||||
using PresenceModel = Discord.API.Presence; | using PresenceModel = Discord.API.Presence; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketGlobalUser : User, ISocketUser | internal class SocketGlobalUser : User, ISocketUser | ||||
{ | { | ||||
@@ -1,7 +1,7 @@ | |||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System.Diagnostics; | using System.Diagnostics; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
[DebuggerDisplay("{DebuggerDisplay,nq}")] | [DebuggerDisplay("{DebuggerDisplay,nq}")] | ||||
internal class SocketGroupUser : GroupUser, ISocketUser | internal class SocketGroupUser : GroupUser, ISocketUser | ||||
@@ -1,8 +1,8 @@ | |||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using Model = Discord.API.GuildMember; | using Model = Discord.API.GuildMember; | ||||
using PresenceModel = Discord.API.Presence; | using PresenceModel = Discord.API.Presence; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketGuildUser : GuildUser, ISocketUser | internal class SocketGuildUser : GuildUser, ISocketUser | ||||
{ | { | ||||
@@ -1,10 +1,10 @@ | |||||
using Discord.API.Rest; | using Discord.API.Rest; | ||||
using Discord.WebSocket; | |||||
using Discord.Rest; | |||||
using System; | using System; | ||||
using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
using Model = Discord.API.User; | using Model = Discord.API.User; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
internal class SocketSelfUser : SelfUser, ISocketUser, ISelfUser | internal class SocketSelfUser : SelfUser, ISocketUser, ISelfUser | ||||
{ | { | ||||
@@ -1,7 +1,7 @@ | |||||
using System; | using System; | ||||
using Model = Discord.API.VoiceState; | using Model = Discord.API.VoiceState; | ||||
namespace Discord | |||||
namespace Discord.WebSocket | |||||
{ | { | ||||
//TODO: C#7 Candidate for record type | //TODO: C#7 Candidate for record type | ||||
internal struct VoiceState : IVoiceState | internal struct VoiceState : IVoiceState | ||||