mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-01 14:42:14 +00:00
54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
# Configuration for the bots this Dimension supports
|
|
bots:
|
|
# Giphy (from matrix.org)
|
|
- mxid: "@neb_giphy:matrix.org"
|
|
name: "Giphy"
|
|
avatar: "/img/avatars/giphy.png"
|
|
about: "Use `!giphy query` to find an animated GIF on demand"
|
|
upstreamType: "giphy"
|
|
# Guggy (from matrix.org)
|
|
- mxid: "@_neb_guggy:matrix.org"
|
|
name: "Guggy"
|
|
avatar: "/img/avatars/guggy.png"
|
|
about: "Use `!guggy sentence` to create an animated GIF from a sentence"
|
|
upstreamType: "guggy"
|
|
# Imgur (from matrix.org)
|
|
- mxid: "@_neb_imgur:matrix.org"
|
|
name: "Imgur"
|
|
avatar: "/img/avatars/imgur.png"
|
|
about: "Use `!imgur query` to find an image from Imgur"
|
|
upstreamType: "imgur"
|
|
# Wikipedia (from matrix.org)
|
|
- mxid: "@_neb_wikipedia:matrix.org"
|
|
name: "Wikipedia"
|
|
avatar: "/img/avatars/wikipedia.png"
|
|
about: "Use `!wikipedia query` to find something from Wikipedia"
|
|
upstreamType: "wikipedia"
|
|
# Google (from matrix.org)
|
|
- mxid: "@_neb_google:matrix.org"
|
|
name: "Google"
|
|
avatar: "/img/avatars/google.png"
|
|
about: "Use `!google image query` to find an image from Google"
|
|
upstreamType: "google"
|
|
|
|
# The web settings for the service (API and UI)
|
|
web:
|
|
# The port to run the webserver on
|
|
port: 8184
|
|
|
|
# The address to bind to (0.0.0.0 for all interfaces)
|
|
address: '0.0.0.0'
|
|
|
|
# Upstream scalar configuration. This should almost never change.
|
|
scalar:
|
|
upstreamRestUrl: "https://scalar.vector.im/api"
|
|
|
|
# Settings for controlling how logging works
|
|
logging:
|
|
file: logs/dimension.log
|
|
console: true
|
|
consoleLevel: info
|
|
fileLevel: verbose
|
|
rotate:
|
|
size: 52428800 # bytes, default is 50mb
|
|
count: 5 |