-
Notifications
You must be signed in to change notification settings - Fork 2
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
Registered users #6
Comments
It seems you can use NICKSERV for this purpose. http://stackoverflow.com/questions/1682920/determine-if-a-user-is-idented-on-irc I would recommend storing the actual verification command in the config so it is easier to port this to other IRC servers. |
I'm pretty sure IRC by default has a mode that nickserv sets - +r if user.include? "r"
true
else
false
end |
The Cinch Doku says you can use Cinch - authed but it is only assured to work on Quakenet and Freenode. Edit: on :message, /^.test/ do |m|
m.reply "Whoot #{m.user.authed?}"
end Do you know how to access the other users? For when a command has a target. |
Cinch has a method for it somewhere - User('varzeki') will return a user object.
|
indeed checking for
should probably figure out how to use cinch for this, because |
At present the bot does not check if users are registered or not - this is abusable. The bot should check if the user has mode +r before responding to any non-help commands with something other than an error.
The text was updated successfully, but these errors were encountered: