Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude known bots from earning coins while in chat #179

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Exclude known bots from earning coins while in chat #179

wants to merge 5 commits into from

Conversation

wtfblub
Copy link
Contributor

@wtfblub wtfblub commented May 14, 2018

This excludes known bots from earning coins while in chat by using the api from https://twitchbots.info/

Closes #154

@@ -7,12 +7,12 @@ namespace DevChatter.Bot.Core
public interface IChatUserCollection
{
ChatUser GetOrCreateChatUser(string displayName, ChatUser chatUser = null);
bool NeedToWatchUser(string displayName);
bool NeedToWatchUser(string displayName, ChatUser chatUser);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to pass both displayName and chatUser, because the former is on the latter.

@wtfblub
Copy link
Contributor Author

wtfblub commented May 16, 2018

Removed the unnecessary ChatUser parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants