diff options
| author | 2018-06-24 10:08:17 +0100 | |
|---|---|---|
| committer | 2018-06-24 10:08:17 +0100 | |
| commit | ed3b26636415e3b2a28a260c10713ff333b9ebf0 (patch) | |
| tree | 0e448ff0c4ec6125ca6116a59951e424ad02c72a | |
| parent | Apparently I can't Google today (diff) | |
[Config] Sort lines; add user complete api route
| -rw-r--r-- | bot/constants.py | 45 | ||||
| -rw-r--r-- | config-default.yml | 45 |
2 files changed, 46 insertions, 44 deletions
diff --git a/bot/constants.py b/bot/constants.py index eec150d1a..48e0a95a8 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -181,18 +181,18 @@ class Channels(metaclass=YAMLGetter): subsection = "channels" bot: int + checkpoint_test: int + devlog: int + devtest: int help0: int help1: int help2: int help3: int help4: int - python: int - devlog: int - devtest: int - verification: int - checkpoint_test: int helpers: int modlog: int + python: int + verification: int class Roles(metaclass=YAMLGetter): @@ -200,13 +200,13 @@ class Roles(metaclass=YAMLGetter): subsection = "roles" admin: int - moderator: int - verified: int - owner: int - devops: int + champion: int contributor: int + devops: int jammer: int - champion: int + moderator: int + owner: int + verified: int class Guild(metaclass=YAMLGetter): @@ -220,45 +220,46 @@ class Keys(metaclass=YAMLGetter): deploy_bot: str deploy_site: str + omdb: str site_api: str youtube: str - omdb: str class ClickUp(metaclass=YAMLGetter): section = "clickup" + key: str space: int team: int - key: str class RabbitMQ(metaclass=YAMLGetter): section = "rabbitmq" host: str + password: str port: int username: str - password: str class URLs(metaclass=YAMLGetter): section = "urls" + bot_avatar: str deploy: str - status: str + gitlab_bot_repo: str + omdb: str site: str - site_hiphopify_api: str - site_tags_api: str - site_user_api: str - site_quiz_api: str site_facts_api: str - site_names_api: str + site_hiphopify_api: str site_idioms_api: str + site_names_api: str + site_quiz_api: str site_special_api: str - gitlab_bot_repo: str - bot_avatar: str - omdb: str + site_tags_api: str + site_user_api: str + site_user_complete_api: str + status: str # Debug mode diff --git a/config-default.yml b/config-default.yml index eb0f86d2f..c22b622c0 100644 --- a/config-default.yml +++ b/config-default.yml @@ -17,64 +17,65 @@ guild: channels: bot: 267659945086812160 + checkpoint_test: 422077681434099723 + devlog: 409308876241108992 + devtest: 414574275865870337 help0: 303906576991780866 help1: 303906556754395136 help2: 303906514266226689 help3: 439702951246692352 help4: 451312046647148554 - python: 267624335836053506 - devlog: 409308876241108992 - devtest: 414574275865870337 - verification: 352442727016693763 - checkpoint_test: 422077681434099723 helpers: 385474242440986624 modlog: 282638479504965634 + python: 267624335836053506 + verification: 352442727016693763 roles: admin: 267628507062992896 - moderator: 267629731250176001 - verified: 352427296948486144 - owner: 267627879762755584 - devops: 409416496733880320 + champion: 430492892331769857 contributor: 295488872404484098 + devops: 409416496733880320 jammer: 423054537079783434 - champion: 430492892331769857 + moderator: 267629731250176001 + owner: 267627879762755584 + verified: 352427296948486144 keys: deploy_bot: !ENV 'DEPLOY_BOT_KEY' deploy_site: !ENV 'DEPLOY_SITE' + omdb: !ENV 'OMDB_API_KEY' site_api: !ENV 'BOT_API_KEY' youtube: !ENV 'YOUTUBE_API_KEY' - omdb: !ENV 'OMDB_API_KEY' clickup: + key: !ENV 'CLICKUP_KEY' space: 757069 team: 754996 - key: !ENV 'CLICKUP_KEY' rabbitmq: host: "pdrmq" + password: !ENV "RABBITMQ_DEFAULT_PASS" port: 5672 username: !ENV "RABBITMQ_DEFAULT_USER" - password: !ENV "RABBITMQ_DEFAULT_PASS" urls: + bot_avatar: 'https://raw.githubusercontent.com/discord-python/branding/master/logos/logo_circle/logo_circle.png' deploy: !ENV 'DEPLOY_URL' - status: !ENV 'STATUS_URL' + gitlab_bot_repo: 'https://gitlab.com/discord-python/projects/bot' + omdb: 'http://omdbapi.com' site: 'pythondiscord.com' - site_hiphopify_api: 'https://api.pythondiscord.com/bot/hiphopify' site_docs_api: 'https://api.pythondiscord.com/bot/docs' - site_tags_api: 'https://api.pythondiscord.com/bot/tags' - site_user_api: 'https://api.pythondiscord.com/bot/users' - site_quiz_api: 'https://api.pythondiscord.com/bot/snake_quiz' site_facts_api: 'https://api.pythondiscord.com/bot/snake_facts' - site_names_api: 'https://api.pythondiscord.com/bot/snake_names' + site_hiphopify_api: 'https://api.pythondiscord.com/bot/hiphopify' site_idioms_api: 'https://api.pythondiscord.com/bot/snake_idioms' + site_names_api: 'https://api.pythondiscord.com/bot/snake_names' + site_quiz_api: 'https://api.pythondiscord.com/bot/snake_quiz' site_special_api: 'https://api.pythondiscord.com/bot/special_snakes' - gitlab_bot_repo: 'https://gitlab.com/discord-python/projects/bot' - bot_avatar: 'https://raw.githubusercontent.com/discord-python/branding/master/logos/logo_circle/logo_circle.png' - omdb: 'http://omdbapi.com' + site_tags_api: 'https://api.pythondiscord.com/bot/tags' + site_user_api: 'https://api.pythondiscord.com/bot/users' + site_user_complete_api: 'https://api.pythondiscord.com/bot/users/complete' + status: !ENV 'STATUS_URL' |