Luke Mathew-Byrne
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
disco/api/client.py
|
|
@ -298,13 +298,13 @@ class APIClient(LoggingClass): |
|
|
|
verification_level=None, |
|
|
|
default_message_notifications=None, |
|
|
|
explicit_content_filter=None, |
|
|
|
roles=[], |
|
|
|
channels=[]): |
|
|
|
roles=[], |
|
|
|
channels=[]): |
|
|
|
|
|
|
|
payload = { |
|
|
|
'name': name, |
|
|
|
'roles': [i.to_dict() for i in roles], |
|
|
|
'channels': [i.to_dict() for i in channels], |
|
|
|
'roles': [i.to_dict() for i in roles], |
|
|
|
'channels': [i.to_dict() for i in channels], |
|
|
|
} |
|
|
|
|
|
|
|
payload.update(optional( |
|
|
|