From 562f8f2cc63d467358da8ee9fb6c3aca2d141cc7 Mon Sep 17 00:00:00 2001 From: WFG Date: Wed, 21 Aug 2024 20:08:36 +0000 Subject: [PATCH] first commit --- README.txt | 2 + __init__.py | 68 ++++++++++++++++++++ __pycache__/__init__.cpython-35.pyc | Bin 0 -> 617 bytes __pycache__/__init__.cpython-39.pyc | Bin 0 -> 581 bytes __pycache__/config.cpython-39.pyc | Bin 0 -> 1186 bytes __pycache__/plugin.cpython-39.pyc | Bin 0 -> 2620 bytes config.py | 60 ++++++++++++++++++ plugin.py | 95 ++++++++++++++++++++++++++++ test.py | 37 +++++++++++ 9 files changed, 262 insertions(+) create mode 100755 README.txt create mode 100755 __init__.py create mode 100755 __pycache__/__init__.cpython-35.pyc create mode 100644 __pycache__/__init__.cpython-39.pyc create mode 100644 __pycache__/config.cpython-39.pyc create mode 100644 __pycache__/plugin.cpython-39.pyc create mode 100755 config.py create mode 100755 plugin.py create mode 100755 test.py diff --git a/README.txt b/README.txt new file mode 100755 index 0000000..e761d98 --- /dev/null +++ b/README.txt @@ -0,0 +1,2 @@ +This plugin contains random, vaguely WFG-related commands of questionable +utility. diff --git a/__init__.py b/__init__.py new file mode 100755 index 0000000..05503a5 --- /dev/null +++ b/__init__.py @@ -0,0 +1,68 @@ +### +# Copyright (c) 2014, scythetwirler +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions, and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions, and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of the author of this software nor the name of +# contributors to this software may be used to endorse or promote products +# derived from this software without specific prior written consent. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +### + +""" +Random, vaguely WFG-related commands of questionable utility. +""" + +import supybot +import supybot.world as world + +# Use this for the version of this plugin. You may wish to put a CVS keyword +# in here if you're keeping the plugin in CVS or some similar system. +__version__ = "0.1" + +# XXX Replace this with an appropriate author or supybot.Author instance. +__author__ = supybot.authors.unknown + +# This is a dictionary mapping supybot.Author instances to lists of +# contributions. +__contributors__ = {} + +# This is a url where the most recent plugin package can be downloaded. +__url__ = '' # 'http://supybot.com/Members/yourname/Deploy/download' + +from . import config +from . import plugin +from imp import reload + +reload(config) # In case we're being reloaded. +reload(plugin) +# Add more reloads here if you add third-party modules and want them to be +# reloaded when this plugin is reloaded. Don't forget to import them as well! + +if world.testing: + from . import test + +Class = plugin.Class +configure = config.configure + + +# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: diff --git a/__pycache__/__init__.cpython-35.pyc b/__pycache__/__init__.cpython-35.pyc new file mode 100755 index 0000000000000000000000000000000000000000..a89bddfc169d4c2310e46b8ad1de48e850705440 GIT binary patch literal 617 zcmY+9&5qMB5XUD?nrzZ$TO<%S2*;J611*bWClEidJbgne|L3}9A0G~%9g3-adA^t9hZIa@$I`On#301}S(pEX#a?O2+;}h(N^iI}_&&zQuRFU{+GUiMM?&A6 z(zR->7OT!GZG1&aJ1u=UUTj3=;+^a&(Yjb4TSm*JDw#{H@2ss{4q2V% z-$CESE|2p2`EsiozT9sr{H!+(=RVn=hWf^Pmz0WDSV|YW-krT@6ze2^`3TFH2PpAq V8qA_NyocMfpIMMaX)qn7!5`@_tX2R3 literal 0 HcmV?d00001 diff --git a/__pycache__/__init__.cpython-39.pyc b/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6c90cbe670819b5f907a01705ccbecef00356943 GIT binary patch literal 581 zcmYjNJC74F5Vm){kL+$j?vN;9+enZAH3B3g=qR8-a${{`XXD^q2R|;#mGD!j_&Zm+ zrMkaB#W{)%3SdVfu?dGZ-8s@pf!r*7nWc-r1{y%*}#etG}lnGvdUg0~wz3=p=h-nQSo zuukf+TPx9eCzW)kWpxjYppUod^W}?x?lG7J4*5opTiHi-P`;OAR8UiQ929X-Xz?%< zjB&kTEELusPHXML^q*KBwNX4|7pfV%5yryRF}L$>r;QDTAHR|+2zO56~Vmas_DV3d*aNE3(VRL4++-V&$Bb*nVoOOw9{!JSZ7~8B_BXKvxh%d2!{u- z)kgq^7|u|RhZxtglegY~=yGLl6vae+Dr4P+C<5-&gzNBIkVw zuwQ8V$~o7ms7_^-QCV$2E<}=!dgasv>lw}W8Qr)ILB7F8vI+24{st(lvdX^;0>eNb z5PO7k=LkqWa&zyzyedaQ6?tt8U6`Y3eT-LAzo;Y)80_a+xb6CJaAh~q{blTQH zHSKL_OYC~a=Z7VawF#)0>M>m2gbIqPMQ19c3w}>$YXk5~lPS?-PWE=UNRd>cPUF{A z%|uO=<~d1)(p1E}H@i93x>Wc3eJyF+J4iE@q>_(l&Q&ii@;k9@$I?&r3bMOG=pvtw|c?850dn4qOcy5iR5?Ss4fB^X9Y)& zk6S-H*T>NhxdJ+Q#li)E*{$!(y{LNWqpZd8`aK+Szb`{I4kyPRK!hXgz>cu*E;&KFG{}UcM%YclRzTF$L?x4a3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