send status as notice

pull/2/head
Vyacheslav N. Boyko 2018-02-01 13:20:40 +03:00
parent 5f4e7e0c61
commit b01beb535c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class DeferredMessagesListener extends ImprovedListenerAdapter {
this.sendNotice(event,"Saved message to "+userName);
} else {
if (commands[0].equalsIgnoreCase(event.getBot().getUserBot().getNick())) {
event.respond("Sorry, message cannot be deferred to me.");
this.sendNotice(event,"Sorry, message cannot be deferred to me.");
} else {
// deferred to somebody
deferredMessageService.saveDeferredMessage(userName, commands[0].toLowerCase(), commands[1]);