mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-03 08:51:13 -05:00
GeneralOvd: add link to SupyPlugins source
This commit is contained in:
parent
427b587dd2
commit
1d912782bd
@ -49,15 +49,21 @@ class GeneralOvd(callbacks.Plugin):
|
|||||||
|
|
||||||
def words(self, irc, msg, args, text):
|
def words(self, irc, msg, args, text):
|
||||||
"""<text>
|
"""<text>
|
||||||
Returns the amount of words in <text> (separated by spaces)."""
|
Returns the amount of words in <text> (separated by spaces). """
|
||||||
irc.reply(len(text.split()))
|
irc.reply(len(text.split()))
|
||||||
words = wrap(words, ['something'])
|
words = wrap(words, ['something'])
|
||||||
|
|
||||||
def netcount(self, irc, msg, args):
|
def netcount(self, irc, msg, args):
|
||||||
"""takes no arguments.
|
"""takes no arguments.
|
||||||
Counts the amount of networks the bot is on."""
|
Counts the amount of networks the bot is on. """
|
||||||
irc.reply(len(world.ircs))
|
irc.reply(len(world.ircs))
|
||||||
netcount = wrap(netcount)
|
netcount = wrap(netcount)
|
||||||
|
|
||||||
|
def supyplugins(self, irc, msg, args):
|
||||||
|
"""takes no arguments.
|
||||||
|
Returns a URL for the source of this plugin. """
|
||||||
|
irc.reply("SupyPlugins source is available at: https://github.com/GLolol/SupyPlugins")
|
||||||
|
supyplugins = wrap(supyplugins)
|
||||||
|
|
||||||
Class = GeneralOvd
|
Class = GeneralOvd
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user