Compare commits

...

2 commits

Author SHA1 Message Date
640c68a81a add config for bot 2025-05-16 18:43:36 -05:00
add9f4b191 remove client.py from gitignore 2025-05-16 18:35:55 -05:00
3 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
/venv/*
gacha_game.db
__pycache__/
bot/client.py

5
bot/client.py Normal file
View file

@ -0,0 +1,5 @@
import misskey
import config
def client_connection():
return misskey.Misskey(address=config.INSTANCE, i=config.KEY)

8
bot/config.py Normal file
View file

@ -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