initial commit
This commit is contained in:
commit
c10a147a35
3 changed files with 16 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
*.pyc
|
||||||
|
__pycache__/
|
||||||
|
config.cfg
|
||||||
|
*.log
|
||||||
6
config.cfg.example
Normal file
6
config.cfg.example
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[np]
|
||||||
|
class = nowplaying.NowplayingBot
|
||||||
|
domain = ; FILL IN ;
|
||||||
|
client_id = ; FILL IN ;
|
||||||
|
client_secret = ; FILL IN ;
|
||||||
|
access_token = ; FILL IN ;
|
||||||
6
nowplaying.py
Normal file
6
nowplaying.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
from ananas import PineappleBot, interval
|
||||||
|
|
||||||
|
class NowplayingBot(PineappleBot):
|
||||||
|
@interval(60)
|
||||||
|
def post_np(self):
|
||||||
|
pass
|
||||||
Loading…
Reference in a new issue