File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/discord.js/src/util Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ function createComponentBuilder(data) {
109109 case ComponentType . SelectMenu :
110110 return new SelectMenuBuilder ( data ) ;
111111 case ComponentType . TextInput :
112- return new TextInputComponent ( data ) ;
112+ return new TextInputBuilder ( data ) ;
113113 default :
114114 return new ComponentBuilder ( data ) ;
115115 }
@@ -124,6 +124,7 @@ const ButtonComponent = require('../structures/ButtonComponent');
124124const Component = require ( '../structures/Component' ) ;
125125const SelectMenuBuilder = require ( '../structures/SelectMenuBuilder' ) ;
126126const SelectMenuComponent = require ( '../structures/SelectMenuComponent' ) ;
127+ const TextInputBuilder = require ( '../structures/TextInputBuilder' ) ;
127128const TextInputComponent = require ( '../structures/TextInputComponent' ) ;
128129
129130/**
You can’t perform that action at this time.
0 commit comments