2017-05-27 07:27:36 +00:00
|
|
|
# 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"
|
2017-05-27 23:45:07 +00:00
|
|
|
upstreamType: "giphy"
|
2017-05-27 07:27:36 +00:00
|
|
|
# Guggy (from matrix.org)
|
2017-05-27 23:45:07 +00:00
|
|
|
- mxid: "@_neb_guggy:matrix.org"
|
2017-05-27 07:27:36 +00:00
|
|
|
name: "Guggy"
|
|
|
|
avatar: "/img/avatars/guggy.png"
|
|
|
|
about: "Use `!guggy sentence` to create an animated GIF from a sentence"
|
2017-05-27 23:45:07 +00:00
|
|
|
upstreamType: "guggy"
|
2017-05-27 07:27:36 +00:00
|
|
|
# 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"
|
2017-05-27 23:45:07 +00:00
|
|
|
upstreamType: "imgur"
|
2017-05-27 07:27:36 +00:00
|
|
|
# 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"
|
2017-05-27 23:45:07 +00:00
|
|
|
upstreamType: "wikipedia"
|
2017-05-27 07:27:36 +00:00
|
|
|
# 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"
|
2017-05-27 23:45:07 +00:00
|
|
|
upstreamType: "google"
|
2017-05-27 07:27:36 +00:00
|
|
|
|
2017-05-27 03:51:48 +00:00
|
|
|
# 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'
|
|
|
|
|
2017-05-27 23:45:07 +00:00
|
|
|
# Upstream scalar configuration. This should almost never change.
|
|
|
|
scalar:
|
|
|
|
upstreamRestUrl: "https://scalar.vector.im/api"
|
|
|
|
|
2017-05-27 03:51:48 +00:00
|
|
|
# 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
|