diff --git a/interactions/api/error.py b/interactions/api/error.py index 15dcb6c45..1effac58d 100644 --- a/interactions/api/error.py +++ b/interactions/api/error.py @@ -209,8 +209,11 @@ def lookup(code: int) -> str: 40033: "This message has already been crossposted", 40041: "An application command with that name already exists", 40043: "Application interaction failed to send", + 40058: "Cannot send a message in a forum channel", 40060: "Interaction has already been acknowledged", 40061: "Tag names must be unique", + 40066: "There are no tags available that can be set by non-moderators", + 40067: "A tag is required to create a forum post in this channel", 50001: "Missing access", 50002: "Invalid account type", 50003: "Cannot execute action on a DM channel", @@ -286,7 +289,10 @@ def lookup(code: int) -> str: 180002: "Failed to create stage needed for stage event", 200000: "Message was blocked by automatic moderation", 200001: "Title was blocked by automatic moderation", + 220002: "Webhooks posted to forum channels cannot have both a thread_name and thread_id", 220003: "Webhooks can only create threads in forum channels", + 220004: "Webhook services cannot be used in forum channels", + 240000: "Message blocked by harmful links filter", }.get(code, f"Unknown error: {code}") def __init__(self, code: int = 0, message: str = None, severity: int = 0, **kwargs):