add config for bot

pull/7/head
chris 4 days ago
parent add9f4b191
commit 640c68a81a
  1. 5
      bot/client.py
  2. 8
      bot/config.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…
Cancel
Save