Skip to content

Commit

Permalink
Added code to ignore meew0's .eval command messages on request.
Browse files Browse the repository at this point in the history
  • Loading branch information
DV8FromTheWorld committed Mar 16, 2016
1 parent e5fa0b0 commit 5473d70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/net/dv8tion/discord/commands/EvalCommand.java
Expand Up @@ -29,6 +29,11 @@ public EvalCommand()
@Override
public void onCommand(MessageReceivedEvent e, String[] args)
{
//Specifically ignores the user meew0 due to a conflict between his bot (Elgyem) and Yui.
//We both agreed to make our bots ignore eachother's .eval commands.
if (e.getAuthor().getId().equals("66237334693085184")) //meew0's ID
return;

if (!Permissions.getPermissions().isOp(e.getAuthor()))
{
sendMessage(e, "Sorry, this command is OP only!");
Expand Down

0 comments on commit 5473d70

Please sign in to comment.