Merge pull request 'fix: add misskey.py to requirements' (#7) from dev into master
Reviewed-on: #7pull/10/head
commit
3085dc6c10
@ -1,4 +1,3 @@ |
|||||||
/venv/* |
/venv/* |
||||||
gacha_game.db |
gacha_game.db |
||||||
__pycache__/ |
__pycache__/ |
||||||
bot/client.py |
|
@ -0,0 +1,5 @@ |
|||||||
|
import misskey |
||||||
|
import config |
||||||
|
|
||||||
|
def client_connection(): |
||||||
|
return misskey.Misskey(address=config.INSTANCE, i=config.KEY) |
@ -0,0 +1,8 @@ |
|||||||
|
# Essential for the bot to function |
||||||
|
INSTANCE = "" # Bots Misskey instance's URL **with schema** |
||||||
|
KEY = "" # API key for the bot |
||||||
|
|
||||||
|
# Extra stuff for control of the bot |
||||||
|
ADMINS = [] # Fedi handles in the traditional 'user@domain.tld' style, |
||||||
|
# allows these users to use extra admin exclusive commands |
||||||
|
# with the bot |
Loading…
Reference in new issue