mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
Moved to the internals to declutter main class
This commit is contained in:
@@ -46,6 +46,7 @@ hydrabot.on( "disconnected", function( obj ) {
|
||||
hydrabot.on( "message", function( message ) {
|
||||
|
||||
// if the message doesn't begin with a valid command prefix exit
|
||||
|
||||
if ( commandPrefixes.indexOf( message.content.charAt( 0 ) ) == -1 )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user