Update EventBot/Modules/EventModule.cs
Co-Authored-By: Karolis <Karolis2011@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user