0
0
Fork 0
This commit is contained in:
하누 2023-03-22 13:45:10 +00:00 committed by GitHub
parent 6b96771980
commit d8dbda7aba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
bot.py
View file

@ -55,7 +55,7 @@ async def _addConnection(inter: disnake.ApplicationCommandInteraction):
await inter.edit_original_message(content="역할 데이터 등록을 시작합니다!")
async with LinkedRolesOAuth2(client_id=os.getenv("CLIENT_ID"), token=os.getenv("BOT_TOKEN")) as client:
async for rec in async_list(list_chunk(records, 4)):
async for rec in async_list(list_chunk(records, 3)):
result = await client.register_role_metadata(records=tuple(rec), force=True)
await inter.followup.send(result)
await asyncio.sleep(5)