diff --git a/app/define_word.py b/app/define_word.py index e4599b86..2f0842d5 100644 --- a/app/define_word.py +++ b/app/define_word.py @@ -1,9 +1,13 @@ import requests - import help_methods def get_definition(content): - if len(content.split()) > 1: + """ + get_definition(content) + + grabs a definition from urban dictionary + """ + if len(content.split()) > 1: word = content.split()[1:] try: definition = requests.get( diff --git a/app/dragon-bot.py b/app/dragon-bot.py index 7408c075..e9300396 100644 --- a/app/dragon-bot.py +++ b/app/dragon-bot.py @@ -3,7 +3,7 @@ import sys import requests import os -import define_mword +import define_word import help_methods import discord import docker