From c10a147a35cd355722b0c4b951b7bdb78f3cd184 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 25 Feb 2018 15:35:10 -0600 Subject: [PATCH] initial commit --- .gitignore | 4 ++++ config.cfg.example | 6 ++++++ nowplaying.py | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 .gitignore create mode 100644 config.cfg.example create mode 100644 nowplaying.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fee0091 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pyc +__pycache__/ +config.cfg +*.log \ No newline at end of file diff --git a/config.cfg.example b/config.cfg.example new file mode 100644 index 0000000..2813740 --- /dev/null +++ b/config.cfg.example @@ -0,0 +1,6 @@ +[np] +class = nowplaying.NowplayingBot +domain = ; FILL IN ; +client_id = ; FILL IN ; +client_secret = ; FILL IN ; +access_token = ; FILL IN ; \ No newline at end of file diff --git a/nowplaying.py b/nowplaying.py new file mode 100644 index 0000000..a8b65f1 --- /dev/null +++ b/nowplaying.py @@ -0,0 +1,6 @@ +from ananas import PineappleBot, interval + +class NowplayingBot(PineappleBot): + @interval(60) + def post_np(self): + pass \ No newline at end of file