From f85e330296c9616b313a77a0c20575e4a319d3f3 Mon Sep 17 00:00:00 2001 From: Hammy Date: Fri, 29 Jan 2021 03:02:28 +0000 Subject: [PATCH] Move directory --- {twitter/bot => bot}/aws_secrets.py | 0 {twitter/bot => bot}/commands.py | 2 +- {twitter/bot => bot}/handler.py | 2 +- {twitter/bot => bot}/winston.py | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename {twitter/bot => bot}/aws_secrets.py (100%) rename {twitter/bot => bot}/commands.py (90%) rename {twitter/bot => bot}/handler.py (75%) rename {twitter/bot => bot}/winston.py (85%) 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: