Skip to content

Commit

Permalink
Rename events
Browse files Browse the repository at this point in the history
  • Loading branch information
monambike committed Sep 10, 2024
1 parent 1153fed commit f506da6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/KWiJisho/KWiJishoBotRegister.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ public void RegisterBotEvents()
{
// Registering other Discord bot events.
DiscordClient.Ready += async (client, readyEventArgs) => await DiscordClient.UpdateStatusAsync(DiscordActivity);
DiscordClient.ComponentInteractionCreated += ButtonInteraction.OnComponentInteractionCreatedAsync;
DiscordClient.GuildMemberAdded += EventNotificationService.OnGuildMemberAddedAsync;
DiscordClient.GuildMemberRemoved += EventNotificationService.OnGuildMemberRemovedAsync;
DiscordClient.ComponentInteractionCreated += DiscordComponentHandler.OnComponentInteractionCreatedAsync;
DiscordClient.GuildMemberAdded += DiscordGuildHandler.OnGuildMemberAddedAsync;
DiscordClient.GuildMemberRemoved += DiscordGuildHandler.OnGuildMemberRemovedAsync;
//DiscordClient.GuildMemberUpdated += DiscordGuildHandler.OnGuildMemberUpdatedAsync;
}

/// <summary>
Expand Down

0 comments on commit f506da6

Please sign in to comment.