Esempio n. 1
0
 internal MessageDeleteEventArgs(Shard shard, Snowflake messageId, Snowflake channelId)
     : base(shard)
 {
     MessageId = messageId;
     ChannelId = channelId;
 }
Esempio n. 2
0
 internal MessageReactionRemoveAllEventArgs(Shard shard, Snowflake messageId, Snowflake channelId)
     : base(shard)
 {
     MessageId = messageId;
     ChannelId = channelId;
 }
Esempio n. 3
0
 internal MessageEventArgs(Shard shard, DiscordMessage message)
     : base(shard)
 {
     Message = message;
 }
Esempio n. 4
0
 internal MessageUpdateEventArgs(Shard shard, DiscordMessage message)
     : base(shard)
 {
     PartialMessage = message;
 }
Esempio n. 5
0
 internal ShardEventArgs(Shard shard)
 {
     Shard = shard;
 }
Esempio n. 6
0
 internal DiscordGatewayEventArgs(Shard shard)
 {
     Shard = shard;
 }
Esempio n. 7
0
 internal GuildChannelEventArgs(Shard shard, Snowflake guildId, DiscordGuildChannel channel)
     : base(shard)
 {
     GuildId = guildId;
     Channel = channel;
 }
Esempio n. 8
0
 internal PresenceEventArgs(Shard shard, Snowflake guildId, DiscordGuildMember member, DiscordUserPresence presence)
     : base(shard, guildId, member)
 {
     Presence = presence;
 }
Esempio n. 9
0
 internal GuildEventArgs(Shard shard, DiscordGuild guild)
     : base(shard)
 {
     Guild = guild;
 }
Esempio n. 10
0
 internal GuildIntegrationsEventArgs(Shard shard, Snowflake guildId)
     : base(shard)
 {
     GuildId = guildId;
 }
Esempio n. 11
0
 internal DMChannelEventArgs(Shard shard, DiscordDMChannel channel)
     : base(shard)
 {
     Channel = channel;
 }
Esempio n. 12
0
 internal GuildRoleEventArgs(Shard shard, DiscordGuild guild, DiscordRole role)
     : base(shard)
 {
     Guild = guild;
     Role  = role;
 }
Esempio n. 13
0
 internal GuildUserEventArgs(Shard shard, Snowflake guildId, DiscordUser user)
     : base(shard)
 {
     GuildId = guildId;
     User    = user;
 }
Esempio n. 14
0
 internal VoiceStateEventArgs(Shard shard, DiscordVoiceState state)
     : base(shard)
 {
     VoiceState = state;
 }
Esempio n. 15
0
 internal WebhooksUpdateEventArgs(Shard shard, Snowflake guildId, Snowflake channelId)
     : base(shard)
 {
     GuildId   = guildId;
     ChannelId = channelId;
 }
Esempio n. 16
0
 internal GuildMemberEventArgs(Shard shard, Snowflake guildId, DiscordGuildMember member)
     : base(shard)
 {
     GuildId = guildId;
     Member  = member;
 }
Esempio n. 17
0
 internal ChannelPinsUpdateEventArgs(Shard shard, Snowflake channelId, DateTime?lastPinTimestamp)
     : base(shard)
 {
     ChannelId        = channelId;
     LastPinTimestamp = lastPinTimestamp;
 }
Esempio n. 18
0
 internal ShardStartException(string message, Shard shard, ShardFailureReason reason, Exception innerException)
     : base(message, innerException)
 {
     Shard  = shard;
     Reason = reason;
 }
Esempio n. 19
0
 internal UserEventArgs(Shard shard, DiscordUser user)
     : base(shard)
 {
     User = user;
 }
Esempio n. 20
0
 internal ShardReconnectedEventArgs(Shard shard, bool isNewSession)
     : base(shard)
 {
     IsNewSession = isNewSession;
 }
Esempio n. 21
0
 internal GuildMemberChunkEventArgs(Shard shard, Snowflake guildId, DiscordGuildMember[] members)
     : base(shard)
 {
     GuildId = guildId;
     Members = members;
 }