Skip to content

Commit

Permalink
Fixed lobby bots initial party being private.
Browse files Browse the repository at this point in the history
  • Loading branch information
xMistt committed May 18, 2021
1 parent 7056c81 commit 4a0e8b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions partybot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ async def event_device_auth_generate(self, details: dict, email: str) -> None:

async def event_ready(self) -> None:
print(crayons.green(self.message % f'Client ready as {self.user.display_name}.'))

if self.party.me.leader:
await self.party.set_privacy(fortnitepy.PartyPrivacy.PUBLIC)

# discord_exists = await self.loop.run_in_executor(None, HelperFunctions.check_if_process_running, 'Discord')

Expand Down

0 comments on commit 4a0e8b2

Please sign in to comment.