Merge remote-tracking branch 'origin/master' into vd15_misc_cleanups
This commit is contained in:
commit
979e15f525
4 changed files with 14 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -182,4 +182,3 @@ cython_debug/
|
|||
|
||||
# Custom stuff
|
||||
gacha_game.db
|
||||
bot/client.py
|
||||
|
|
5
bot/client.py
Normal file
5
bot/client.py
Normal 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
8
bot/config.py
Normal 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
|
|
@ -5,3 +5,4 @@ itsdangerous==2.2.0
|
|||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.2
|
||||
Werkzeug==3.1.3
|
||||
Misskey.py==4.1.0
|
||||
|
|
Loading…
Add table
Reference in a new issue