Skip to content

Commit

Permalink
Rename RoleSelect and UserSelect functions to match module name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleboe authored Nov 1, 2024
1 parent 1628880 commit 51cb924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nostrum/struct/component/role_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Nostrum.Struct.Component.RoleSelect do

@type opts :: [opt]

def mentionable_select(custom_id, opts \\ []) when is_binary(custom_id) do
def role_select(custom_id, opts \\ []) when is_binary(custom_id) do
[
custom_id: custom_id,
disabled: opts[:disabled],
Expand Down
2 changes: 1 addition & 1 deletion lib/nostrum/struct/component/user_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Nostrum.Struct.Component.UserSelect do

@type opts :: [opt]

def mentionable_select(custom_id, opts \\ []) when is_binary(custom_id) do
def user_select(custom_id, opts \\ []) when is_binary(custom_id) do
[
custom_id: custom_id,
disable: opts[:disabled],
Expand Down

0 comments on commit 51cb924

Please sign in to comment.