mirror of https://github.com/velour/catbase.git
reminder: remove natural language thing
This commit is contained in:
parent
c91fdcdf29
commit
3dc8c77505
|
@ -120,7 +120,6 @@ func (p *ReminderPlugin) message(c bot.Connector, kind bot.Kind, message msg.Mes
|
||||||
channel := message.Channel
|
channel := message.Channel
|
||||||
from := message.User.Name
|
from := message.User.Name
|
||||||
|
|
||||||
message.Body = replaceDuration(p.when, message.Body)
|
|
||||||
parts := strings.Fields(message.Body)
|
parts := strings.Fields(message.Body)
|
||||||
|
|
||||||
if len(parts) >= 5 {
|
if len(parts) >= 5 {
|
||||||
|
|
Loading…
Reference in New Issue