-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.exs.example
47 lines (40 loc) · 1.91 KB
/
config.exs.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
config :alexia, bots: [
%{bot_name: "AlexandraBot", commands_module: YourAppModule.AlexandraBot.Commands,
token: Base.decode64!("KFEDOSKYG5KUQSZVK5CDKU22INEUUWCZGRLDIRKPJ5BEUQZWK5IA"),
webhook: "https://yourdomain.example.com/your-telegram-update-link/"},
%{bot_name: "MegaCoolBot", commands_module: YourAppModule.MegaCoolBot.Commands,
token: Base.decode64!("KZDU2VBUJZJUQQJSIFLVMT2SGZCVMWKYKFKUOQ2OKNHU4QSXIU2Q")}],
secret_mix: "MOq8cDjlwEBoLi88TXfGY+HeQllySLgEuObNUr006Ug"
config :alexia,
proxy: "http://proxy.example.org:443/",
# can also be
# proxy: {"proxy.example.org", 443}
# or use an environment variable
# proxy: {:socks5, 'proxy.example.org', 443}
recv_timeout: 10
# If the need ever rises, you can configure the base url for the api
# Telegram API
#base_url: "http://my-own-endpoint.com/whatever/",
# Telegram Graph API
#graph_base_url: "http://my-own-endpoint.com/whatever/"
# This configuration is loaded before any dependency and is restricted
# to this project. If another project depends on this project, this
# file won't be loaded nor affect the parent project. For this reason,
# if you want to provide default values for your application for third-
# party users, it should be done in your mix.exs file.
# Sample configuration:
#
# config :logger, :console,
# level: :info,
# format: "$date $time [$level] $metadata$message\n",
# metadata: [:user_id]
# It is also possible to import configuration files, relative to this
# directory. For example, you can emulate configuration per environment
# by uncommenting the line below and defining dev.exs, test.exs and such.
# Configuration from the imported file will override the ones defined
# here (which is why it is important to import them last).
#
# import_config "#{Mix.env}.exs"