diff --git a/plugins/bots.py b/plugins/bots.py index b905fdb..2115852 100644 --- a/plugins/bots.py +++ b/plugins/bots.py @@ -10,7 +10,7 @@ from pylinkirc.coremods import permissions def spawnclient(irc, source, args): """ - Admin-only. Spawns the specified client on the PyLink server. + Spawns the specified client on the PyLink server. Note: this doesn't check the validity of any fields you give it!""" permissions.checkPermissions(irc, source, ['bots.spawnclient']) try: @@ -25,7 +25,7 @@ def spawnclient(irc, source, args): def quit(irc, source, args): """ [] - Admin-only. Quits the PyLink client with nick , if one exists.""" + Quits the PyLink client with nick , if one exists.""" permissions.checkPermissions(irc, source, ['bots.quit']) try: @@ -53,7 +53,7 @@ def quit(irc, source, args): def joinclient(irc, source, args): """[] [,,,...] - Admin-only. Joins , the nick of a PyLink client, to a comma-separated list of channels. + Joins , the nick of a PyLink client, to a comma-separated list of channels. If is not given, it defaults to the main PyLink client. For the channel arguments, prefixes can also be specified to join the given client with @@ -115,7 +115,7 @@ utils.add_cmd(joinclient, name='join') def nick(irc, source, args): """[] - Admin-only. Changes the nick of , a PyLink client, to . If is not given, it defaults to the main PyLink client.""" + Changes the nick of , a PyLink client, to . If is not given, it defaults to the main PyLink client.""" permissions.checkPermissions(irc, source, ['bots.nick']) @@ -151,7 +151,7 @@ def nick(irc, source, args): def part(irc, source, args): """[] ,[],... [] - Admin-only. Parts , the nick of a PyLink client, from a comma-separated list of channels. If is not given, it defaults to the main PyLink client.""" + Parts , the nick of a PyLink client, from a comma-separated list of channels. If is not given, it defaults to the main PyLink client.""" permissions.checkPermissions(irc, source, ['bots.part']) try: @@ -197,7 +197,7 @@ def part(irc, source, args): def msg(irc, source, args): """[] - Admin-only. Sends message from , where is the nick of a PyLink client. If is not given, it defaults to the main PyLink client.""" + Sends message from , where is the nick of a PyLink client. If is not given, it defaults to the main PyLink client.""" permissions.checkPermissions(irc, source, ['bots.msg']) # Because we want the source nick to be optional, this argument parsing gets a bit tricky.