Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <- Dispatch [GUILD_AUDIT_LOG_ENTRY_CREATE] : {
- "user_id": "833739610474545214",
- "target_id": "1126980496442790059",
- "id": "1126999226807767180",
- "changes": [
- {
- "old_value": "application-9850",
- "key": "name"
- },
- {
- "old_value": 0,
- "key": "type"
- },
- {
- "old_value": [
- {
- "type": "role",
- "id": "803021545672015911",
- "deny_new": "0",
- "deny": 0,
- "allow_new": "1049616",
- "allow": 1049616
- },
- {
- "type": "role",
- "id": "1100383767652204575",
- "deny_new": "0",
- "deny": 0,
- "allow_new": "274877910080",
- "allow": 3136
- },
- {
- "type": "member",
- "id": "535466633150595108",
- "deny_new": "0",
- "deny": 0,
- "allow_new": "3072",
- "allow": 3072
- },
- {
- "type": "role",
- "id": "786732499099320330",
- "deny_new": "1049600",
- "deny": 1049600,
- "allow_new": "0",
- "allow": 0
- }
- ],
- "key": "permission_overwrites"
- },
- {
- "old_value": false,
- "key": "nsfw"
- },
- {
- "old_value": 0,
- "key": "rate_limit_per_user"
- },
- {
- "old_value": [],
- "key": "available_tags"
- },
- {
- "old_value": 0,
- "key": "flags"
- },
- {
- "old_value": {
- "name": "??",
- "id": null
- },
- "key": "icon_emoji"
- }
- ],
- "action_type": 12,
- "guild_id": "786732499099320330"
- }
- 15:12:34 Gateway Error handling Dispatch (GUILD_AUDIT_LOG_ENTRY_CREATE):
- Newtonsoft.Json.JsonSerializationException: Error converting value "member" to type 'Discord.PermissionTarget'. Path '[2].type'.
- ---> System.ArgumentException: Requested value 'member' was not found.
- at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
- --- End of inner exception stack trace ---
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
- at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
- at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
- at Discord.Rest.AuditLogHelper.CreateAuditLogEntityInfo[T](AuditLogChange[] changes, BaseDiscordClient discord)
- at Discord.WebSocket.SocketChannelDeleteAuditLogData.Create(DiscordSocketClient discord, AuditLogEntry entry)
- at Discord.WebSocket.SocketAuditLogHelper.CreateData(DiscordSocketClient discord, AuditLogEntry entry)
- at Discord.WebSocket.SocketAuditLogEntry..ctor(DiscordSocketClient discord, AuditLogCreatedEvent model)
- at Discord.WebSocket.SocketAuditLogEntry.Create(DiscordSocketClient discord, AuditLogCreatedEvent model)
- at Discord.WebSocket.DiscordSocketClient.ProcessMessageAsync(GatewayOpCode opCode, Nullable`1 seq, String type, Object payload)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement