From 05dba60d4e3d50e96b0f54ee8e087ed99014c44f Mon Sep 17 00:00:00 2001 From: Nishant Date: Sun, 10 Mar 2019 19:57:07 +0530 Subject: [PATCH] Updated Dictionary plugin --- .idea/workspace.xml | 2 +- honeybot/main.py | 5 ++--- honeybot/plugins/dictionary.py | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 90cea80..85ea26c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -182,7 +182,7 @@ - + diff --git a/honeybot/main.py b/honeybot/main.py index 7f95c9e..2384c36 100644 --- a/honeybot/main.py +++ b/honeybot/main.py @@ -1,10 +1,9 @@ # -*- coding: utf-8 -*- -import socket -import os -import importlib import configparser +import importlib +import socket config = configparser.ConfigParser() config.read('CONNECT.conf') diff --git a/honeybot/plugins/dictionary.py b/honeybot/plugins/dictionary.py index d286058..2e28d81 100644 --- a/honeybot/plugins/dictionary.py +++ b/honeybot/plugins/dictionary.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -[joke.py] +[dictionary.py] Dictionary Plugin [Author] @@ -11,7 +11,7 @@ [Commands] >>> .dictionary <> -returns a random joke +returns meaning of the word specified """ from PyDictionary import PyDictionary