diff --git a/plugins/factoids.py b/plugins/factoids.py index a924bf1..3811c94 100644 --- a/plugins/factoids.py +++ b/plugins/factoids.py @@ -108,7 +108,7 @@ def info(inp, notice=None, db=None): @hook.regex(r'^\? ?(.+)') def factoid(inp, message=None, db=None, bot=None, action=None, conn=None, input=None): - "? -- Shows what data is associated with ." + """? -- Shows what data is associated with .""" try: prefix_on = bot.config["plugins"]["factoids"].get("prefix", False) except KeyError: diff --git a/plugins/geoip.py b/plugins/geoip.py index 172c90a..003d915 100644 --- a/plugins/geoip.py +++ b/plugins/geoip.py @@ -14,7 +14,7 @@ with open("./plugins/data/geoip_regions.json", "rb") as f: regions = json.loads(f.read()) if os.path.isfile(os.path.abspath("./plugins/data/GeoLiteCity.dat")): - # initalise geolocation database + # initialise geolocation database geo = pygeoip.GeoIP(os.path.abspath("./plugins/data/GeoLiteCity.dat")) else: download = http.get("http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz") diff --git a/plugins/minecraft_ping.py b/plugins/minecraft_ping.py index 4ffb318..ccca77b 100644 --- a/plugins/minecraft_ping.py +++ b/plugins/minecraft_ping.py @@ -8,7 +8,7 @@ from util import hook try: import DNS - # Please remember to install the dependancy 'pydns' + # Please remember to install the dependency 'pydns' pydns_installed = True except ImportError: pydns_installed = False diff --git a/plugins/ping.py b/plugins/ping.py index f5127d0..66286df 100644 --- a/plugins/ping.py +++ b/plugins/ping.py @@ -20,7 +20,7 @@ def ping(inp, reply=None): args = inp.split(' ') host = args[0] - # check for a seccond argument and set the ping count + # check for a second argument and set the ping count if len(args) > 1: count = int(args[1]) if count > 20: diff --git a/plugins/tell.py b/plugins/tell.py index e8a06bb..d2e7ffc 100644 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -91,7 +91,7 @@ def tell(inp, nick='', chan='', db=None, input=None, notice=None): return if user_to.lower() == input.conn.nick.lower(): - # user is looking for us, being a smartass + # user is looking for us, being a smart-ass notice("Thanks for the message, {}!".format(user_from)) return diff --git a/requirements.txt b/requirements.txt index d436010..cc5b182 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +pygeoip +tweepy Crypto BeautifulSoup==3.2.1 lxml==3.1beta1