mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 20:23:12 +00:00
Merge branch 'fix_owner_ids' into 'main'
fix owner_id See merge request wlinator/Racu!67
This commit is contained in:
commit
06403fcbca
3 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
TOKEN=
|
||||
INSTANCE=
|
||||
OWNER_IDS=784783517845946429
|
||||
OWNER_ID=784783517845946429
|
||||
|
||||
XP_GAIN_PER_MESSAGE=
|
||||
XP_GAIN_COOLDOWN=
|
||||
|
|
3
Racu.py
3
Racu.py
|
@ -16,9 +16,8 @@ async def get_prefix(bot, message):
|
|||
except AttributeError:
|
||||
return "."
|
||||
|
||||
owner_ids = set(os.environ.get('RACU_OWNER_IDS').split(','))
|
||||
client = services.Client.RacuBot(
|
||||
owner_ids=owner_ids,
|
||||
owner_id=int(os.environ.get('RACU_OWNER_ID')),
|
||||
command_prefix=get_prefix,
|
||||
intents=discord.Intents.all(),
|
||||
status=discord.Status.online,
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
environment:
|
||||
RACU_TOKEN: ${TOKEN}
|
||||
RACU_INSTANCE: ${INSTANCE}
|
||||
RACU_OWNER_IDS: ${OWNER_IDS}
|
||||
RACU_OWNER_ID: ${OWNER_ID}
|
||||
RACU_XP_GAIN_PER_MESSAGE: ${XP_GAIN_PER_MESSAGE}
|
||||
RACU_XP_GAIN_COOLDOWN: ${XP_GAIN_COOLDOWN}
|
||||
RACU_DBX_OAUTH2_REFRESH_TOKEN: ${DBX_OAUTH2_REFRESH_TOKEN}
|
||||
|
|
Loading…
Reference in a new issue