File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 11const HypixelDiscordChatBridgeError = require ( "../../contracts/errorHandler.js" ) ;
2+ const delay = ( ms ) => new Promise ( ( resolve ) => setTimeout ( resolve , ms ) ) ;
23const { SuccessEmbed } = require ( "../../contracts/embedHandler.js" ) ;
34
45module . exports = {
@@ -35,13 +36,17 @@ module.exports = {
3536 const name = interaction . options . getString ( "username" ) ;
3637 const arg = interaction . options . getString ( "arg" ) . toLowerCase ( ) ;
3738
39+ bot . chat ( "/lobby megawalls" ) ;
40+ await delay ( 250 ) ;
3841 if ( arg == "add" ) {
3942 bot . chat ( `/ignore add ${ name } ` ) ;
4043 } else if ( arg == "remove" ) {
4144 bot . chat ( `/ignore remove ${ name } ` ) ;
4245 } else {
4346 throw new HypixelDiscordChatBridgeError ( "Invalid Usage: `/ignore [add/remove] [name]`." ) ;
4447 }
48+ await delay ( 250 ) ;
49+ bot . chat ( "/limbo" ) ;
4550
4651 const embed = new SuccessEmbed (
4752 `Successfully ${ arg == "add" ? "added" : "removed" } \`${ name } \` ${ arg == "add" ? "to" : "from" } the blacklist.` ,
You can’t perform that action at this time.
0 commit comments