Giter Club home page Giter Club logo

phergie-irc-plugin-react-nickserv's Introduction

phergie-irc-plugin-react-nickserv's People

Contributors

elazar avatar matthewtrask avatar renegade334 avatar sitedyno avatar svpernova09 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

phergie-irc-plugin-react-nickserv's Issues

The IDENTIFY command sent to nickserv should be configurable.

Phergie currently uses :IDENTIFY <nick> <password> to identify to nickserv. Which means the bot will try to identify with its current nick. As you can see below having the bot's nick in the identify command is for identifying with a different nick than the one the bot is currently using. On top of that Rizon does not account for identifying for a different nick than the current nick and all IDENTIFY commands fail on Rizon. I'm sure there are other networks that expect such behavior.

Since :IDENTIFY <password> is the common denominator Phergie should use that format or allow the format to be specified by the user.

Espernet:

NickServ: ***** NickServ Help *****
NickServ: Help for IDENTIFY:
NickServ:
NickServ: IDENTIFY identifies you with services so that you
NickServ: can perform general maintenance and commands that
NickServ: require you to be logged in.
NickServ:
NickServ: Syntax: IDENTIFY <password>
NickServ:
NickServ: You can also identify for another nick than you
NickServ: are currently using.
NickServ:
NickServ: Syntax: IDENTIFY <nick> <password>
NickServ:
NickServ: Example:
NickServ: /msg NickServ IDENTIFY foo
NickServ: /msg NickServ IDENTIFY jilles foo
NickServ: ***** End of Help *****

Freenode:

NickServ: ***** NickServ Help *****
NickServ: Help for IDENTIFY:
NickServ:
NickServ: IDENTIFY identifies you with services so that you
NickServ: can perform general maintenance and commands that
NickServ: require you to be logged in.
NickServ:
NickServ: Syntax: IDENTIFY <password>
NickServ:
NickServ: You can also identify for another nick than you
NickServ: are currently using.
NickServ:
NickServ: Syntax: IDENTIFY <nick> <password>
NickServ:
NickServ: Example:
NickServ: /msg NickServ IDENTIFY foo
NickServ: /msg NickServ IDENTIFY jilles foo
NickServ: ***** End of Help *****

Rizon:

help identify
NickServ: Syntax: IDENTIFY password
NickServ:
NickServ: Tells NickServ that you are really the owner of this
NickServ: nick. Many commands require you to authenticate yourself
NickServ: with this command before you use them. The password
NickServ: should be the same one you sent with the REGISTER
NickServ: command.

Modify handleNick() to fire a custom event

There are instances where it is desirable for other plugins to be aware of when authentication with NickServ is successful, such as joining channels that require user registration. Modify handleNick() to emit a custom event that other plugins can listen for.

PHP fatal error

Only when the nickname is in use I get the following error, on other conditions the script works.

"PHP Catchable fatal error: Argument 1 passed to Phergie\Irc\Plugin\React\NickServ\Plugin::handleNicknameInUse() must implement interface Phergie\Irc\Event\UserEventInterface, instance of Phergie\Irc\Event\ServerEvent given in /home//dev/vendor/phergie/phergie-irc-plugin-react-nickserv/src/Plugin.php on line 140"

Missing from packagist

Just a heads up, this plugin seems to be missing from packagist, thus is unavailable through composer. The plugin is working fine for me after manually copying, but this may deter other users.

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.