Setup
-
Create
data/aliases.json(or setDEGOOG_ALIASES_FILEto another path). - Edit the file with your aliases:
{
"jelly": "jellyfin",
"search": "meili",
"id": "uuid"
}
Each key is the alias (what the user types after
!). Each value is the target command
trigger. So !jelly runs the same command as
!jellyfin.
- Restart the server. Aliases are loaded at startup.
Rules
- Aliases cannot override existing command triggers or built-in aliases.
-
User-defined aliases show up in
!helpnext to their target command.
Built-in command aliases
Some commands ship with aliases defined in their source:
| Command | Aliases |
|---|---|
!jellyfin |
!jf |
!meili |
!ms |
Engine shortcuts
Search engines can define a bangShortcut so users can
search that engine only:
| Shortcut | Engine |
|---|---|
!g |
|
!b |
Bing |
!ddg |
DuckDuckGo |
!brave |
Brave Search |
!w |
Wikipedia |
!r |
Example: !g linux kernel searches only Google for “linux
kernel”.
Custom path
Set DEGOOG_ALIASES_FILE to load aliases from a different
location, e.g. /etc/degoog/aliases.json.