Skip to content

[BUG] Unknown trigger type 3 #1540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
LawMixer opened this issue Aug 24, 2023 · 0 comments
Closed
4 tasks done

[BUG] Unknown trigger type 3 #1540

LawMixer opened this issue Aug 24, 2023 · 0 comments

Comments

@LawMixer
Copy link
Contributor

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

@LawMixer LawMixer changed the title [BUG] Your Title Here [BUG] Unknown trigger type 3 Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants