Update EventBot/Modules/EventModule.cs

Co-Authored-By: Karolis <Karolis2011@users.noreply.github.com>
This commit is contained in:
Geeves
2019-06-19 17:13:46 +02:00
committed by Karolis2011
parent 05143db059
commit 6ce26b1d39

View File

@@ -130,7 +130,7 @@ namespace EventBot.Modules
throw new Exception("This event is finalized. Please make a new event."); throw new Exception("This event is finalized. Please make a new event.");
@event.Title = title; @event.Title = title;
await _database.SaveChangesAsync(); await _database.SaveChangesAsync();
await ReplyAsync($"Updated event (`{@event.Id}`)'s title to `{@event.Title}`"); await ReplyAsync($"Updated event's (`{@event.Id}`) title to `{@event.Title}`");
await _events.UpdateEventMessage(@event); await _events.UpdateEventMessage(@event);
} }
[Command("update description")] [Command("update description")]