serenity-rs / poise

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing
MIT License
624 stars 111 forks source link

Add ignore_thread_creation to PrefixFrameworkOptions #211

Closed seraxis closed 10 months ago

seraxis commented 10 months ago

When a new thread is created the title can be parsed as if it were a prefix command invocation from a regular message, this adds an option to PrefixFrameworkOptions to ignore these accidental command invocations by default while preserving old behaviour if desired.

kangalio commented 10 months ago

Immaculate PR