File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,6 +102,10 @@ class CommandsManager {
102102 return alias ? this . commands . get ( alias ) : this . commands . get ( cstr )
103103 }
104104
105+ async loadCommands ( ) {
106+ return this . loadCommandsSync ( ) ;
107+ }
108+
105109 /**
106110 * Load all commands from the directory passed in the constructor
107111 */
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const EmbedBuilder = new class EmbedBuilder {
4848 */
4949 createSuccessEmbed ( text , data = EmbedDefaults ) {
5050 data . color = Colors . SUCCESS
51- return EmbedBuilder . createEmbed ( text , data )
51+ return this . createEmbed ( text , data )
5252 }
5353
5454 /**
@@ -60,7 +60,7 @@ const EmbedBuilder = new class EmbedBuilder {
6060 */
6161 createErrorEmbed ( text , data = EmbedDefaults ) {
6262 data . color = Colors . ERROR
63- return EmbedBuilder . createEmbed ( text , data )
63+ return this . createEmbed ( text , data )
6464 }
6565
6666 /**
@@ -72,7 +72,7 @@ const EmbedBuilder = new class EmbedBuilder {
7272 */
7373 createInformativeEmbed ( text , data = EmbedDefaults ) {
7474 data . color = Colors . INFO
75- return EmbedBuilder . createEmbed ( text , data ) ;
75+ return this . createEmbed ( text , data ) ;
7676 }
7777}
7878
You can’t perform that action at this time.
0 commit comments