commit c10a147a35cd355722b0c4b951b7bdb78f3cd184 Author: Erin Date: Sun Feb 25 15:35:10 2018 -0600 initial commit 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