Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itschasa committed Jul 28, 2023
1 parent aa191a5 commit c90aaaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _get_invite(self, guild):
channels = r.json()

invite_payload = {
'max_age': 2592000 if 'COMMUNITY' in guild['features'] else 0,
'max_age': 2592000 if 'COMMUNITY' not in guild['features'] else 0,
'max_uses': 0,
'target_type': None,
'target_user_id': None,
Expand Down

0 comments on commit c90aaaf

Please sign in to comment.