Update EventBot/Modules/EventModule.cs
Co-Authored-By: Karolis <Karolis2011@users.noreply.github.com>
This commit is contained in:
@@ -405,7 +405,7 @@ namespace EventBot.Modules
|
|||||||
@event.Active = false;
|
@event.Active = false;
|
||||||
await _database.SaveChangesAsync();
|
await _database.SaveChangesAsync();
|
||||||
|
|
||||||
await ReplyAsync($"Event `{@event.Id}`'s has been finalized. Removing participant roles..");
|
await ReplyAsync($"Event `{@event.Id}` has been finalized. Removing participant roles..");
|
||||||
if (@event.Guild.ParticipantRoleId != 0)
|
if (@event.Guild.ParticipantRoleId != 0)
|
||||||
foreach (var participant in @event.Participants)
|
foreach (var participant in @event.Participants)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user