Advertisement
Terror_nisse

Untitled

Jul 7th, 2023
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  1. <- Dispatch [GUILD_AUDIT_LOG_ENTRY_CREATE] : {
  2. "user_id": "833739610474545214",
  3. "target_id": "1126980496442790059",
  4. "id": "1126999226807767180",
  5. "changes": [
  6. {
  7. "old_value": "application-9850",
  8. "key": "name"
  9. },
  10. {
  11. "old_value": 0,
  12. "key": "type"
  13. },
  14. {
  15. "old_value": [
  16. {
  17. "type": "role",
  18. "id": "803021545672015911",
  19. "deny_new": "0",
  20. "deny": 0,
  21. "allow_new": "1049616",
  22. "allow": 1049616
  23. },
  24. {
  25. "type": "role",
  26. "id": "1100383767652204575",
  27. "deny_new": "0",
  28. "deny": 0,
  29. "allow_new": "274877910080",
  30. "allow": 3136
  31. },
  32. {
  33. "type": "member",
  34. "id": "535466633150595108",
  35. "deny_new": "0",
  36. "deny": 0,
  37. "allow_new": "3072",
  38. "allow": 3072
  39. },
  40. {
  41. "type": "role",
  42. "id": "786732499099320330",
  43. "deny_new": "1049600",
  44. "deny": 1049600,
  45. "allow_new": "0",
  46. "allow": 0
  47. }
  48. ],
  49. "key": "permission_overwrites"
  50. },
  51. {
  52. "old_value": false,
  53. "key": "nsfw"
  54. },
  55. {
  56. "old_value": 0,
  57. "key": "rate_limit_per_user"
  58. },
  59. {
  60. "old_value": [],
  61. "key": "available_tags"
  62. },
  63. {
  64. "old_value": 0,
  65. "key": "flags"
  66. },
  67. {
  68. "old_value": {
  69. "name": "??",
  70. "id": null
  71. },
  72. "key": "icon_emoji"
  73. }
  74. ],
  75. "action_type": 12,
  76. "guild_id": "786732499099320330"
  77. }
  78. 15:12:34 Gateway Error handling Dispatch (GUILD_AUDIT_LOG_ENTRY_CREATE):
  79. Newtonsoft.Json.JsonSerializationException: Error converting value "member" to type 'Discord.PermissionTarget'. Path '[2].type'.
  80. ---> System.ArgumentException: Requested value 'member' was not found.
  81. at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
  82. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
  83. --- End of inner exception stack trace ---
  84. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
  85. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  86. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
  87. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
  88. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  89. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  90. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
  91. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
  92. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  93. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
  94. at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
  95. at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
  96. at Discord.Rest.AuditLogHelper.CreateAuditLogEntityInfo[T](AuditLogChange[] changes, BaseDiscordClient discord)
  97. at Discord.WebSocket.SocketChannelDeleteAuditLogData.Create(DiscordSocketClient discord, AuditLogEntry entry)
  98. at Discord.WebSocket.SocketAuditLogHelper.CreateData(DiscordSocketClient discord, AuditLogEntry entry)
  99. at Discord.WebSocket.SocketAuditLogEntry..ctor(DiscordSocketClient discord, AuditLogCreatedEvent model)
  100. at Discord.WebSocket.SocketAuditLogEntry.Create(DiscordSocketClient discord, AuditLogCreatedEvent model)
  101. at Discord.WebSocket.DiscordSocketClient.ProcessMessageAsync(GatewayOpCode opCode, Nullable`1 seq, String type, Object payload)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement