mirror of
https://github.com/sudoxnym/connectd.git
synced 2026-04-14 19:46:30 +00:00
add default discord servers for values-aligned communities
- self-hosted, foss developers, grapheneos, queer coded - commented out larger servers (need bot invite) - merges env var servers with defaults 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
120e4a07e2
commit
bd1efa2ae7
1 changed files with 33 additions and 3 deletions
|
|
@ -27,9 +27,39 @@ from .lost import (
|
||||||
DISCORD_BOT_TOKEN = os.environ.get('DISCORD_BOT_TOKEN', '')
|
DISCORD_BOT_TOKEN = os.environ.get('DISCORD_BOT_TOKEN', '')
|
||||||
DISCORD_API = 'https://discord.com/api/v10'
|
DISCORD_API = 'https://discord.com/api/v10'
|
||||||
|
|
||||||
# server IDs to scout (add your own)
|
# default server IDs - values-aligned communities
|
||||||
# these are public programming/career servers
|
# bot must be invited to these servers to scout them
|
||||||
TARGET_SERVERS = os.environ.get('DISCORD_TARGET_SERVERS', '').split(',')
|
# invite links for reference (use numeric IDs below):
|
||||||
|
# - self-hosted: discord.gg/self-hosted
|
||||||
|
# - foss-dev: discord.gg/foss-developers-group
|
||||||
|
# - grapheneos: discord.gg/grapheneos
|
||||||
|
# - queer-coded: discord.me/queer-coded
|
||||||
|
# - homelab: discord.gg/homelab
|
||||||
|
# - esphome: discord.gg/n9sdw7pnsn
|
||||||
|
# - home-assistant: discord.gg/home-assistant
|
||||||
|
# - linuxserver: discord.gg/linuxserver
|
||||||
|
# - proxmox-scripts: discord.gg/jsYVk5JBxq
|
||||||
|
DEFAULT_SERVERS = [
|
||||||
|
# self-hosted / foss / privacy
|
||||||
|
'693469700109369394', # self-hosted (selfhosted.show)
|
||||||
|
'920089648842293248', # foss developers group
|
||||||
|
'1176414688112820234', # grapheneos
|
||||||
|
|
||||||
|
# queer tech
|
||||||
|
'925804557001437184', # queer coded
|
||||||
|
|
||||||
|
# home automation / homelab
|
||||||
|
# note: these are large servers, bot needs to be invited
|
||||||
|
# '330944238910963714', # home assistant (150k+ members)
|
||||||
|
# '429907082951524364', # esphome (35k members)
|
||||||
|
# '478094546522079232', # homelab (35k members)
|
||||||
|
# '354974912613449730', # linuxserver.io (41k members)
|
||||||
|
]
|
||||||
|
|
||||||
|
# merge env var servers with defaults
|
||||||
|
_env_servers = os.environ.get('DISCORD_TARGET_SERVERS', '').split(',')
|
||||||
|
_env_servers = [s.strip() for s in _env_servers if s.strip()]
|
||||||
|
TARGET_SERVERS = list(set(DEFAULT_SERVERS + _env_servers))
|
||||||
|
|
||||||
# channels to focus on (keywords in channel name)
|
# channels to focus on (keywords in channel name)
|
||||||
TARGET_CHANNEL_KEYWORDS = [
|
TARGET_CHANNEL_KEYWORDS = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue