Update EventBot/Modules/EventModule.cs

Co-Authored-By: Karolis <Karolis2011@users.noreply.github.com>
This commit is contained in:
Geeves
2019-06-19 17:14:00 +02:00
committed by GitHub
parent 0447308f40
commit 104ea6e7bd

View File

@@ -147,7 +147,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.Description = description; @event.Description = description;
await _database.SaveChangesAsync(); await _database.SaveChangesAsync();
await ReplyAsync($"Updated event (`{@event.Id}`)'s description to `{@event.Description}`"); await ReplyAsync($"Updated event's (`{@event.Id}`) description to `{@event.Description}`");
await _events.UpdateEventMessage(@event); await _events.UpdateEventMessage(@event);
} }