import-error-interaction-type

Privateunrated

Content

1 line

Embed

1 line
{"color": 65280, "title": "ImportError: InteractionType", "fields": [{"name": "Using Methods", "value": "```py\n# Sending message\nawait interaction.send(...)\n# or\nawait interaction.respond(type=4, ...)\n\n# Defering responce\nawait interaction.defer() \n# or\nawait interaction.respond(type=5)\n# You will see loading state\n\nawait interaction.defer(edit_origin=True)\n# or\nawait interaction.respond(type=6)\n# Without loading state\n\n# Updating message\nawait interaction.edit_origin(...)\n# or\nawait interaction.respond(type=7, ...)\n```", "inline": false}], "description": "If you are using the newest version, InteractionType will not be able to import.\nSo you will have to use integers or methods."}
Raw JSON
{
  "id": 1048187,
  "created_at": "2021-09-06T22:39:29.000Z",
  "tag_name": "import-error-interaction-type",
  "nsfw": false,
  "owner_id": "758244072573370380",
  "uses": 61,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "847283544803508254",
  "sharer": "143773579320754177",
  "content": "",
  "embed": "{\"color\": 65280, \"title\": \"ImportError: InteractionType\", \"fields\": [{\"name\": \"Using Methods\", \"value\": \"```py\\n# Sending message\\nawait interaction.send(...)\\n# or\\nawait interaction.respond(type=4, ...)\\n\\n# Defering responce\\nawait interaction.defer() \\n# or\\nawait interaction.respond(type=5)\\n# You will see loading state\\n\\nawait interaction.defer(edit_origin=True)\\n# or\\nawait interaction.respond(type=6)\\n# Without loading state\\n\\n# Updating message\\nawait interaction.edit_origin(...)\\n# or\\nawait interaction.respond(type=7, ...)\\n```\", \"inline\": false}], \"description\": \"If you are using the newest version, InteractionType will not be able to import.\\nSo you will have to use integers or methods.\"}",
  "last_fetched": "2026-10-20T17:33:32.821Z"
}