init
Creates the local config and discovers accessible guilds.
#Usage
discrawl init
discrawl init --guild 123456789012345678
discrawl init --db ~/data/discrawl.db
discrawl init --with-embeddings
#What it does
- writes the default XDG config file, or whatever
--config/ - discovers guilds the configured bot can access
- if exactly one guild is available, sets it as
default_guild_idautomatically - creates the SQLite database at
db_path
DISCRAWL_CONFIG points to
#Flags
--guild <id>- set a specific default guild instead of auto-picking--db <path>- overridedb_path--with-embeddings- enable[search.embeddings]in the generated config