aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/resources/guides
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-03-10 22:29:33 +0100
committerGravatar shtlrs <[email protected]>2023-03-10 22:29:33 +0100
commit1559b16a7e241faabdf1cb34eaedfeb9ccdb4bdd (patch)
tree36919d24f6b1fc644715d7feeb43ba222f2a499b /pydis_site/apps/content/resources/guides
parentexplain that the script works on existing servers as well (diff)
yeet the collapsible card out
Diffstat (limited to 'pydis_site/apps/content/resources/guides')
-rw-r--r--pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md429
1 files changed, 0 insertions, 429 deletions
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
index ed650b31..60e5f9b1 100644
--- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
+++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
@@ -144,435 +144,6 @@ to use the value **1077875228002234398** for the `announcements` attribute inste
See [here](../obtaining-discord-ids) for help with obtaining Discord IDs.
-<div class="card">
- <button type="button" class="card-header collapsible">
- <span class="card-header-title subtitle is-6 my-2 ml-2">Full .env.server appendix</span>
- <span class="card-header-icon">
- <i class="fas fa-fw fa-angle-down title is-5" aria-hidden="true"></i>
- </span>
- </button>
- <div class="collapsible-content collapsed">
- <div class="card-content">
- <p>If you used the provided server template, and you're not sure which channels belong where in the config file, you can use the config below. Pay attention to the comments with several <code>#</code> symbols, and replace the <code>�</code> characters with the right IDs.</p>
- <pre>
- <code class="language-yaml">
-
-##### << Replace the following � characters with the channel IDs in your test server >> #####
-# This assumes the template was used: https://discord.new/zmHtscpYN9E3
-
-
-# Channels configuration
-channels_announcements=�
-channels_changelog=�
-channels_mailing_lists=�
-channels_python_events=�
-channels_python_news=�
-channels_reddit=�
-
-channels_dev_contrib=�
-channels_dev_core=�
-channels_dev_log=�
-
-channels_meta=�
-channels_python_general=�
-
-channels_help_system_forum=�
-
-channels_attachment_log=�
-channels_filter_log=�
-channels_message_log=�
-channels_mod_log=�
-channels_nomination_archive=�
-channels_user_log=�
-channels_voice_log=�
-
-channels_off_topic_0=�
-channels_off_topic_1=�
-channels_off_topic_2=�
-
-channels_bot_commands=�
-channels_discord_bots=�
-channels_esoteric=�
-channels_voice_gate=�
-channels_code_jam_planning=�
-
-### Staff
-channels_admins=�
-channels_admin_spam=�
-channels_defcon=�
-channels_helpers=�
-channels_incidents=�
-channels_incidents_archive=�
-channels_mod_alerts=�
-channels_mod_meta=�
-channels_mods=�
-channels_nominations=�
-channels_nomination_voting=�
-channels_organisation=�
-
-### Staff announcement channels
-channels_admin_announcements=�
-channels_mod_announcements=�
-channels_staff_announcements=�
-channels_staff_info=�
-channels_staff_lounge=�
-
-### Voice Channels
-channels_admins_voice=�
-channels_code_help_voice_0=�
-channels_code_help_voice_1=�
-channels_general_voice_0=�
-channels_general_voice_1=�
-channels_staff_voice=�
-
-channels_black_formatter=�
-
-### Voice Chat
-channels_code_help_chat_0=�
-channels_code_help_chat_1=�
-channels_staff_voice_chat=�
-channels_voice_chat_0=�
-channels_voice_chat_1=�
-
-channels_big_brother_logs=�
-channels_duck_pond=�
-channels_roles=�
-
-##### << Replace the following � characters with the role IDs in your test server >> #####
-
-
-# Roles configuration
-
-roles_advent_of_code=�
-roles_announcements=�
-roles_lovefest=�
-roles_pyweek_announcements=�
-roles_revival_of_code=�
-roles_legacy_help_channels_access=�
-
-roles_contributors=�
-roles_help_cooldown=�
-roles_muted=�
-roles_partners=�
-roles_python_community=�
-roles_sprinters=�
-roles_voice_verified=�
-
-### Streaming
-roles_video=�
-
-### Staff
-roles_admins=�
-roles_core_developers=�
-roles_code_jam_event_team=�
-roles_devops=�
-roles_domain_leads=�
-roles_events_lead=�
-roles_helpers=�
-roles_moderators=�
-roles_mod_team=�
-roles_owners=�
-roles_project_leads=�
-
-### Code Jam
-roles_jammers=�
-
-### Patreon
-roles_patreon_tier_1=�
-roles_patreon_tier_2=�
-roles_patreon_tier_3=�
-
-##### << Replace the following � characters with the category IDs in your test server >> #####
-
-# Categories configuration
-
-categories_logs=�
-categories_moderators=�
-categories_modmail=�
-categories_appeals=�
-categories_appeals2=�
-categories_voice=�
-
-### 2021 Summer Code Jam
-categories_summer_code_jam=�
-
-##### << Replace the following � character with the ID of your test server >> #####
-
-# Guild configuration
-guild_id=�
-guild_invite="https://discord.gg/python"
-
-
-##### << Replace the following � characters with the webhook IDs in your test server >> #####
-
-# Webhooks configuration
-
-webhooks_big_brother_id=�
-webhooks_dev_log_id=�
-webhooks_duck_pond_id=�
-webhooks_incidents_id=�
-webhooks_incidents_archive_id=�
-webhooks_python_news_id=�
-
-# Big brother configuration
-big_brother_header_message_limit=15
-big_brother_log_delay=15
-
-# Code Block configuration
-
-code_block_cooldown_seconds=300
-code_block_minimum_lines=4
-
-
-# Colours configuration
-
-colours_blue=0x3775a8
-colours_bright_green=0x01d277
-colours_orange=0xe67e22
-colours_pink=0xcf84e0
-colours_purple=0xb734eb
-colours_soft_green=0x68c290
-colours_soft_orange=0xf9cb54
-colours_soft_red=0xcd6d6d
-colours_white=0xfffffe
-colours_yellow=0xffd241
-
-# Free configuration
-free_activity_timeout=600
-free_cooldown_per=60.0
-free_cooldown_rate=1
-
-# Antispam configuration
-antispam_rules_attachments_interval=10
-antispam_rules_attachments_max=10
-
-antispam_rules_burst_interval=10
-antispam_rules_burst_max=7
-
-antispam_rules_chars_interval=5
-antispam_rules_chars_max=200
-
-antispam_rules_discord_emojis_interval=10
-antispam_rules_discord_emojis_max=20
-
-antispam_rules_duplicates_interval=10
-antispam_rules_duplicates_max=3
-
-antispam_rules_links_interval=10
-antispam_rules_links_max=10
-
-antispam_rules_mentions_interval=10
-antispam_rules_mentions_max=5
-
-antispam_rules_newlines_interval=10
-antispam_rules_newlines_max=100
-antispam_rules_newlines_max_consecutive=10
-
-antispam_rules_role_mentions_interval=10
-antispam_rules_role_mentions_max=3
-
-
-antispam_cache_size=100
-antispam_clean_offending=true
-antispam_ping_everyone=true
-antispam_punishment_remove_after=600
-
-
-# Help channels configuration
-help_channels_enable=true
-help_channels_idle_minutes=30
-help_channels_deleted_idle_minutes=5
-
-# Redirect output configuration
-redirect_output_delete_delay=15
-redirect_output_delete_invocation=true
-
-# Duck pond configuration
-duckpond_threshold=7
-
-# Python news configuration
-python_news_mail_lists=
-
-# Voice gate configuration
-voice_gate_bot_message_delete_delay=10
-voice_gate_minimum_activity_blocks=3
-voice_gate_minimum_days_member=3
-voice_gate_minimum_messages=50
-voice_gate_voice_ping_delete_delay=60
-
-# Branding configuration
-branding_cycle_frequency=3
-
-# Video permisions configuration
-video_permission_default_permission_duration=5
-
-# Redis configuration
-redis_host="redis.default.svc.cluster.local"
-redis_port=6379
-redis_use_fakeredis=false # If this is true, Bot will use fakeredis.aioredis
-
-# Cleaning configuration
-clean_message_limit=10000
-
-# Stats configuration
-stats_presence_update_timeout=30
-stats_statsd_host="graphite.default.svc.cluster.local"
-
-# Cooldowns configuration
-cooldowns_tags=60
-
-# Metabase configuration
-metabase_base_url="http://metabase.default.svc.cluster.local"
-metabase_public_url="https://metabase.pythondiscord.com"
-metabase_max_session_age=20_160
-
-# URLs configuration
-
-urls_snekbox_eval_api="http://snekbox.default.svc.cluster.local/eval"
-urls_snekbox_311_eval_api="http://snekbox-311.default.svc.cluster.local/eval"
-
-# Discord API
-urls_discord_api="https://discordapp.com/api/v7/"
-
-# Misc endpoints
-urls_bot_avatar="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_circle/logo_circle.png"
-urls_github_bot_repo=https://github.com/python-discord/bot
-
-# Site
-urls_site="pythondiscord.com"
-urls_site_schema="https://"
-urls_site_api="site.default.svc.cluster.local/api"
-urls_site_api_schema="http://"
-
-urls_connect_max_retries=3
-urls_connect_cooldown=5
-
-##### << The bot shouldn't fail without these, but commands adding specific emojis won't work. >> #####
-##### << You should at least set the trashcan. Set the incidents emojis if relevant. >> #####
-
-
-
-# Emojis configuration
-emojis_badge_bug_hunter="<:bug_hunter_lvl1:743882896372269137>"
-emojis_badge_bug_hunter_level_2="<:bug_hunter_lvl2:743882896611344505>"
-emojis_badge_early_supporter="<:early_supporter:743882896909140058>"
-emojis_badge_hypesquad="<:hypesquad_events:743882896892362873>"
-emojis_badge_hypesquad_balance="<:hypesquad_balance:743882896460480625>"
-emojis_badge_hypesquad_bravery="<:hypesquad_bravery:743882896745693335>"
-emojis_badge_hypesquad_brilliance="<:hypesquad_brilliance:743882896938631248>"
-emojis_badge_partner="<:partner:748666453242413136>"
-emojis_badge_staff="<:discord_staff:743882896498098226>"
-emojis_badge_verified_bot_developer="<:verified_bot_dev:743882897299210310>"
-emojis_verified_bot="<:verified_bot:811645219220750347>"
-emojis_bot="<:bot:812712599464443914>"
-
-emojis_defcon_shutdown="<:defcondisabled:470326273952972810>" # noqa: E704
-emojis_defcon_unshutdown="<:defconenabled:470326274213150730>" # noqa: E704
-emojis_defcon_update="<:defconsettingsupdated:470326274082996224>" # noqa: E704
-
-emojis_failmail="<:failmail:633660039931887616>"
-
-emojis_incident_actioned="<:incident_actioned:714221559279255583>"
-emojis_incident_investigating="<:incident_investigating:714224190928191551>"
-emojis_incident_unactioned="<:incident_unactioned:714223099645526026>"
-
-emojis_status_dnd="<:status_dnd:470326272082313216>"
-emojis_status_idle="<:status_idle:470326266625785866>"
-emojis_status_offline="<:status_offline:470326266537705472>"
-emojis_status_online="<:status_online:470326272351010816>"
-
-emojis_ducky_dave="<:ducky_dave:742058418692423772>"
-
-emojis_trashcan="<:trashcan:637136429717389331>"
-
-emojis_bullet="\u2022"
-emojis_check_mark="\u2705"
-emojis_cross_mark="\u274C"
-emojis_new="\U0001F195"
-emojis_pencil="\u270F"
-
-emojis_ok_hand=":ok_hand:"
-
-# Icons configuration
-
-icons_crown_blurple="https://cdn.discordapp.com/emojis/469964153289965568.png"
-icons_crown_green="https://cdn.discordapp.com/emojis/469964154719961088.png"
-icons_crown_red="https://cdn.discordapp.com/emojis/469964154879344640.png"
-
-icons_defcon_denied="https://cdn.discordapp.com/emojis/472475292078964738.png"
-icons_defcon_shutdown="https://cdn.discordapp.com/emojis/470326273952972810.png"
-icons_defcon_unshutdown="https://cdn.discordapp.com/emojis/470326274213150730.png"
-icons_defcon_update="https://cdn.discordapp.com/emojis/472472638342561793.png"
-
-icons_filtering="https://cdn.discordapp.com/emojis/472472638594482195.png"
-
-icons_green_checkmark="https://raw.githubusercontent.com/python-discord/branding/main/icons/checkmark/green-checkmark-dist.png"
-icons_green_questionmark="https://raw.githubusercontent.com/python-discord/branding/main/icons/checkmark/green-question-mark-dist.png"
-
-icons_guild_update="https://cdn.discordapp.com/emojis/469954765141442561.png"
-
-icons_hash_blurple="https://cdn.discordapp.com/emojis/469950142942806017.png"
-icons_hash_green="https://cdn.discordapp.com/emojis/469950144918585344.png"
-icons_hash_red="https://cdn.discordapp.com/emojis/469950145413251072.png"
-
-icons_message_bulk_delete="https://cdn.discordapp.com/emojis/469952898994929668.png"
-icons_message_delete="https://cdn.discordapp.com/emojis/472472641320648704.png"
-icons_message_edit="https://cdn.discordapp.com/emojis/472472638976163870.png"
-
-icons_pencil="https://cdn.discordapp.com/emojis/470326272401211415.png"
-
-icons_questionmark="https://cdn.discordapp.com/emojis/512367613339369475.png"
-
-icons_remind_blurple="https://cdn.discordapp.com/emojis/477907609215827968.png"
-icons_remind_green="https://cdn.discordapp.com/emojis/477907607785570310.png"
-icons_remind_red="https://cdn.discordapp.com/emojis/477907608057937930.png"
-
-icons_sign_in="https://cdn.discordapp.com/emojis/469952898181234698.png"
-icons_sign_out="https://cdn.discordapp.com/emojis/469952898089091082.png"
-
-icons_superstarify="https://cdn.discordapp.com/emojis/636288153044516874.png"
-icons_unsuperstarify="https://cdn.discordapp.com/emojis/636288201258172446.png"
-
-icons_token_removed="https://cdn.discordapp.com/emojis/470326273298792469.png"
-
-icons_user_ban="https://cdn.discordapp.com/emojis/469952898026045441.png"
-icons_user_mute="https://cdn.discordapp.com/emojis/472472640100106250.png"
-icons_user_unban="https://cdn.discordapp.com/emojis/469952898692808704.png"
-icons_user_unmute="https://cdn.discordapp.com/emojis/472472639206719508.png"
-icons_user_update="https://cdn.discordapp.com/emojis/469952898684551168.png"
-icons_user_verified="https://cdn.discordapp.com/emojis/470326274519334936.png"
-icons_user_warn="https://cdn.discordapp.com/emojis/470326274238447633.png"
-
-icons_voice_state_blue="https://cdn.discordapp.com/emojis/656899769662439456.png"
-icons_voice_state_green="https://cdn.discordapp.com/emojis/656899770094452754.png"
-icons_voice_state_red="https://cdn.discordapp.com/emojis/656899769905709076.png"
-
-##### << Optional - If you don't care about the filtering, help channel and py-news cogs, ignore the rest of this file >> #####
-
-# Filters configuration
-filters_filter_domains=true
-filters_filter_everyone_ping=true
-filters_filter_invites=true
-filters_filter_zalgo=false
-filters_watch_regex=true
-filters_watch_rich_embeds=true
-
-### Notifications are not expected for "watchlist" type filters
-
-filters_notify_user_domains=false
-filters_notify_user_everyone_ping=true
-filters_notify_user_invites=true
-filters_notify_user_zalgo=false
-
-filters_offensive_msg_delete_days=7
-filters_ping_everyone=true
-
- </code>
- </pre>
-</div></div></div>
-<br>
-
-
If you wish to set all values in your `env.server` for your testing server, you need to set **all** the ones prefixed with:
* `guild_`