diff --git a/twitter/bot/aws_secrets.py b/bot/aws_secrets.py similarity index 100% rename from twitter/bot/aws_secrets.py rename to bot/aws_secrets.py diff --git a/twitter/bot/commands.py b/bot/commands.py similarity index 90% rename from twitter/bot/commands.py rename to bot/commands.py index 01695c9..d5d942d 100644 --- a/twitter/bot/commands.py +++ b/bot/commands.py @@ -1,4 +1,4 @@ -from twitter.bot.winston import Winston +from bot.winston import Winston def send_tweet(tweet_text): diff --git a/twitter/bot/handler.py b/bot/handler.py similarity index 75% rename from twitter/bot/handler.py rename to bot/handler.py index c333beb..15af678 100644 --- a/twitter/bot/handler.py +++ b/bot/handler.py @@ -1,4 +1,4 @@ -from twitter.bot.winston import Winston +from bot.winston import Winston def event_handler(event, context): diff --git a/twitter/bot/winston.py b/bot/winston.py similarity index 85% rename from twitter/bot/winston.py rename to bot/winston.py index bd15112..774714e 100644 --- a/twitter/bot/winston.py +++ b/bot/winston.py @@ -1,8 +1,8 @@ import random from twython import Twython -from twitter.bot.aws_secrets import get_secret -from twitter.bot.commands import send_tweet +from bot.aws_secrets import get_secret +from bot.commands import send_tweet class Winston: