1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00

Merge branch 'fix_owner_ids' into 'main'

fix owner_id

See merge request wlinator/Racu!67
This commit is contained in:
wlinator 2024-04-26 10:29:45 +00:00
commit 06403fcbca
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
TOKEN=
INSTANCE=
OWNER_IDS=784783517845946429
OWNER_ID=784783517845946429
XP_GAIN_PER_MESSAGE=
XP_GAIN_COOLDOWN=

View file

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

View file

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