Browse Source

Remove secret from config

pull/161/head
Luke 5 years ago
committed by GitHub
parent
commit
184b409440
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      disco/client.py

3
disco/client.py

@ -21,8 +21,6 @@ class ClientConfig(Config):
token : str token : str
Discord authentication token, can be validated using the Discord authentication token, can be validated using the
`disco.util.token.is_valid_token` function. `disco.util.token.is_valid_token` function.
secret : str
Discord client secret used for the oauth2 flow.
shard_id : int shard_id : int
The shard ID for the current client instance. The shard ID for the current client instance.
shard_count : int shard_count : int
@ -44,7 +42,6 @@ class ClientConfig(Config):
""" """
token = '' token = ''
secret = ''
shard_id = 0 shard_id = 0
shard_count = 1 shard_count = 1
guild_subscriptions = True guild_subscriptions = True

Loading…
Cancel
Save