diff --git a/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleEmojiChanged.cs b/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleEmojiChanged.cs index 2f010f7..cb03a62 100644 --- a/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleEmojiChanged.cs +++ b/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleEmojiChanged.cs @@ -4,5 +4,5 @@ namespace Slackbot.Net.Endpoints.Abstractions; public interface IHandleEmojiChanged { - Task Handle(EventMetaData eventMetadata, EmojiChangedEvent memberjoined); + Task Handle(EventMetaData eventMetadata, EmojiChangedEvent emojiChanged); } diff --git a/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleTeamJoin.cs b/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleTeamJoin.cs index db6e1bb..1e1ab97 100644 --- a/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleTeamJoin.cs +++ b/source/src/Slackbot.Net.Endpoints/Abstractions/IHandleTeamJoin.cs @@ -4,5 +4,5 @@ namespace Slackbot.Net.Endpoints.Abstractions; public interface IHandleTeamJoin { - Task Handle(EventMetaData eventMetadata, TeamJoinEvent memberjoined); + Task Handle(EventMetaData eventMetadata, TeamJoinEvent teamJoined); } diff --git a/source/src/Slackbot.Net.Endpoints/Hosting/ISlackbotHandlersBuilder.cs b/source/src/Slackbot.Net.Endpoints/Hosting/ISlackbotHandlersBuilder.cs index 0007357..bf09799 100644 --- a/source/src/Slackbot.Net.Endpoints/Hosting/ISlackbotHandlersBuilder.cs +++ b/source/src/Slackbot.Net.Endpoints/Hosting/ISlackbotHandlersBuilder.cs @@ -17,4 +17,5 @@ public ISlackbotHandlersBuilder AddInteractiveBlockActionsHandler() public ISlackbotHandlersBuilder AddMessageActionsHandler() where T : class, IHandleMessageActions; public ISlackbotHandlersBuilder AddTeamJoinHandler() where T : class, IHandleTeamJoin; + public ISlackbotHandlersBuilder AddEmojiChangedHandler() where T : class, IHandleEmojiChanged; } diff --git a/source/src/Slackbot.Net.Endpoints/Hosting/SlackBotHandlersBuilder.cs b/source/src/Slackbot.Net.Endpoints/Hosting/SlackBotHandlersBuilder.cs index 2a958f5..0b68fc8 100644 --- a/source/src/Slackbot.Net.Endpoints/Hosting/SlackBotHandlersBuilder.cs +++ b/source/src/Slackbot.Net.Endpoints/Hosting/SlackBotHandlersBuilder.cs @@ -59,4 +59,10 @@ public ISlackbotHandlersBuilder AddTeamJoinHandler() where T : class, IHandle services.AddSingleton(); return this; } + + public ISlackbotHandlersBuilder AddEmojiChangedHandler() where T : class, IHandleEmojiChanged + { + services.AddSingleton(); + return this; + } }