-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsample.toml
69 lines (60 loc) · 2.24 KB
/
sample.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# If true, the application will exit when send error occured.
exit_on_send_error = false
[irc]
## Hostname of target IRC server. (ex: "irc.libera.chat")
server = ""
## Port number of target IRC server. The standard port for IRC connection is
## 6667 for plaintext, and 6697 for TLS connection.
port = 6697
## (Optional) Password for the IRC connection.
# password = ""
## Set true to use TLS connection.
use_tls = true
## Nickname of IRC bot.
nickname = ""
## Username of IRC bot. Typically your username will be displayed along with
## your hostname as "username@host".
username = ""
## Realname will be displayed in "WHOIS" command of IRC.
realname = ""
## For more IRC connection options, see the following links:
## - https://github.com/aatxe/irc#configuring-irc-clients
## - https://docs.rs/irc/0.15.0/irc/client/data/config/struct.Config.html#fields
## Channel to connect. (ex: "#bla")
channel = ""
## IRC user nicknames to ignore. (ex: ["github", "notifico"])
ignores = []
## Set true to bridge changes of IRC members.
# bridge_member_changes = false
## By setting this option as `true`, you can keep the bot from notifying people with nicknames
## by inserting zero width spaces (U+200B) into nicknames.
# prevent_noti_by_nicknames = false
## Set true to automatically detect the avater of IRC users.
##
## NOTE: This option requires "Server Members Intent", and "Presence Intent".
# auto_detect_avatar = false
## Special config for ozinger.org IRC network.
# [irc.ozinger]
# username = "id"
# password = "pw"
[discord]
## "Application ID" of Discord application. Please refer to the following links
## on how to create an application (a.k.a. bot account) and retrieve a token
## from it:
##
## NOTE: This bot always requires "Message Content Intent".
##
## - https://discord.com/developers/docs/topics/oauth2#bots
## - https://discord.com/developers/applications
token = ""
## Discord channel ID. Please refer to the following link on how to get the
## channel ID:
## - https://support.discord.com/hc/en-us/articles/206346498
channel_id = 0
## Discord webhook ID and token. Discord webhook URL has the following format:
##
## https://discord.com/api/webhooks/{webhook_id}/{webhook_token}
webhook_id = 0
webhook_token = ""
## Discord user nicknames to ignore.
ignores = []