镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Rename the "thread_create" internal bot event #3387

Open

Description

@martinbndr

Is your feature request related to a problem? Please elaborate.

The bots internal "thread_create" event interferes with the relatively new native discord event on_thread_create that can be used in plugins. As both events named the same it causes issues during development of plugins with raising type errors etc.

I can create the pr if you will support a name change of this event.

Describe the solution you'd like

Rename the "thread_create" event to something like "thread_creation" -> for plugins then "on_thread_creation" to avoid issues with the native on_thread_create event that gets fired when a discord thread (not modmail) is created.

Does your solution involve any of the following?

  • Logviewer
  • New config option

Describe alternatives you've considered

Who will this benefit?

Plugin developers

Additional Information

No response

Activity

  1. martinbndr commented on Aug 24, 2025

    @martinbndr
    ContributorAuthor

    Maybe it could be useful to add a namespace infront of all bot internal events to avoid future issues with newly added events by discord/dpy. like modmail_ or m_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions