-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
41 lines (37 loc) · 1.1 KB
/
config.py
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
TEST = False
DISCORD_BOT_TOKEN = "<enter dicord token>"
NGROK_LOCAL_API_LINKS = [
"http://257.21.68.4:4040/api/tunnels/",
"http://172.56.77.289:4040/api/tunnels/",
"http://268.1.55.58:4040/api/tunnels/"
]
# %tunnel_name% %tunnel_url% %message% %ngrok_host% %ngrok_port%
# are placeholders for message
#
# EXAMPLES:
# %tunnel_name%: homeserver-ssh
# %tunnel_url%: tcp://2.tcp.eu.ngrok.io:10480
# %message%: usage:\n\t\t\t`ssh <username>@%ngrok_host% -p %ngrok_port%`
# %ngrok_host%: 2.tcp.eu.ngrok.io
# %ngrok_port%: 10480
MESSAGE_TEMPLATE = """
tunnel name: %tunnel_name%
tunnel url: %tunnel_url%
tunnel message: %message%
"""
# all: send all tunnels to this channel
#
# message template placeholders are also supported for specified
# tunnel messages of each channel
DISCORD_CHANNEL_IDS_DATA = {
749593882739736577: {
"all": "", # no message
},
1050897563907268648: {
"babico": "", # no message
"homeserver": "" # no message
},
1085885700924256306: {
"homeserver-ssh": "usage:\n\t\t\t`ssh <username>@%ngrok_host% -p %ngrok_port%`"
},
}