Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Commit

Permalink
[10/19] Hot Fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
PMH committed Oct 19, 2018
1 parent 68c6601 commit 12c0dcc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CORE.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,18 @@ console.log("\n\n\nμBot v5.0 Core Session is Start!\n------------------Bot Star
mute: mute[input.author.id].mute + 1024
};
}
if (input === `<@${mu.user.id}>` || input === `<@!${mu.user.id}>`) { // 맨션당했을때
input.channel.send(`뮤유~?`);
}
cmds.writeFile("./Saved/UserCoin.json", JSON.stringify(mute));
// MuteCoin End.
if (input === `<@${mu.user.id}>` || input === `<@!${mu.user.id}>`) { // 맨션당했을때
// React Messages
input.react('👍');
input.react('👎');
input.react('👌');
input.react('🖕');
input.react('💯');
input.react('💥');
input.react('🤔');
}
if (!input.content.startsWith(prefix || "뮤")) return; // Don't log Messages Without Prefix
console.log(`${input.author.username.toString()} (${input.author.id.toString()})> ${input.content.toString()}`); // input Logging
if (`${input.author.id}` === `${mu.user.id}`) return; // Don't Check Message Itself!
Expand Down

0 comments on commit 12c0dcc

Please sign in to comment.