Skip to content

Commit c90aaaf

Browse files
committed
fix
1 parent aa191a5 commit c90aaaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _get_invite(self, guild):
219219
channels = r.json()
220220

221221
invite_payload = {
222-
'max_age': 2592000 if 'COMMUNITY' in guild['features'] else 0,
222+
'max_age': 2592000 if 'COMMUNITY' not in guild['features'] else 0,
223223
'max_uses': 0,
224224
'target_type': None,
225225
'target_user_id': None,

0 commit comments

Comments
 (0)