mirror of
https://github.com/velour/catbase.git
synced 2025-04-04 20:21:42 +00:00
reminder: accidentally a you
This commit is contained in:
parent
60339620d8
commit
4d8949994c
@ -333,6 +333,9 @@ func reminderer(p *ReminderPlugin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message := fmt.Sprintf("Hey %s, %s wanted you to be reminded: %s", reminder.who, reminder.from, reminder.what)
|
message := fmt.Sprintf("Hey %s, %s wanted you to be reminded: %s", reminder.who, reminder.from, reminder.what)
|
||||||
|
if reminder.who == reminder.from {
|
||||||
|
message = fmt.Sprintf("Hey %s, %s wanted to be reminded: %s", reminder.who, reminder.from, reminder.what)
|
||||||
|
}
|
||||||
p.Bot.SendMessage(reminder.channel, message)
|
p.Bot.SendMessage(reminder.channel, message)
|
||||||
|
|
||||||
if err := p.deleteReminder(reminder.id); err != nil {
|
if err := p.deleteReminder(reminder.id); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user