Skip to content

[BUG] Unknown trigger type 3 #1540

Closed
Closed
@LawMixer

Description

@LawMixer

Library Version

Release 5.9.2

Describe the Bug

Unknown trigger type for {'trigger_type': 3, 'trigger_metadata': {}, 'name': 'Block Spam Content', 'id': '1021862597634556006', 'guild_id': '864557936068395018', 'exempt_roles': [], 'exempt_channels': [], 'event_type': 1, 'enabled': True, 'creator_id': '247036279420747776', 'actions': [BlockMessage()]}

Steps to Reproduce

Use anything with Block Spam Content that Discord added;

Expected Results

Not to error

Minimal Reproducible Code

from interactions import listen, Extension, events, Embed, AuditLogEventType 

class automodDM(Extension):
    def __init__(self, client: interactions.Client):
        self.client = client
    @listen()
    async def my_function(self, event: events.AutoModExec):
        pass

        

def setup(client):
    automodDM(client)

Traceback

No.

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.
  • I have attempted to debug this myself, and I believe this issue is with the library

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions