forked from TediCross/TediCross
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.settings.yaml
48 lines (48 loc) · 2.22 KB
/
example.settings.yaml
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
telegram:
token: TELEGRAM_BOT_TOKEN_HERE # Telegram bot tokens look like this: 113031530:AAH_4c5Gt9gsVu82OVNjUV7poU7PodYiNsA
useFirstNameInsteadOfUsername: false
colonAfterSenderName: false
skipOldMessages: true
sendEmojiWithStickers: true
useCustomEmojiFilter: false # Experimental, might break
replaceAtWithHash: false # Experimental, might break
replaceExcessiveSpaces: false # Experimental, might break
removeNewlineSpaces: false # Experimental, might break
suppressFileTooBigMessages: false
suppressThisIsPrivateBotMessage: false
discord:
useNickname: false
token: DISCORD_BOT_TOKEN_HERE # Discord bot tokens look like this: MjI3MDA1NzIvOBQ2MzAzMiMz.DRf-aw.N0MVYtDxXYPSQew4g2TPqvQve2c
skipOldMessages: true
replyLength: 100
maxReplyLines: 2
suppressThisIsPrivateBotMessage: false
enableCustomStatus: false
customStatusMessage: "TediCross"
bridges:
- name: First bridge
direction: both
threadMap: # Remove this and (telegram/discord pairs below if not planing to use Threads )
- name: First thread # optional naming for thread mapping
telegram: TELEGRAM_THREAD_ID # Threads have positive IDs
discord: 'DISCORD_THREAD_ID' # Discord thread IDs looks like other channel IDs
- telegram: TELEGRAM_THREAD_ID # Threads have positive IDs
discord: 'DISCORD_THREAD_ID' # Discord thread IDs looks like other channel IDs
telegram:
chatId: TELEGRAM_CHAT_ID # Remember that Telegram group and channel IDs are negative. Include the `-` if you are bridging a group or a channel
relayJoinMessages: true
relayLeaveMessages: true
sendUsernames: true
crossDeleteOnDiscord: true
discord:
channelId: 'DISCORD_CHANNEL_ID' # This ID must be wrapped in single quotes. Example: '244791815503347712'
relayJoinMessages: true
relayLeaveMessages: true
sendUsernames: true
crossDeleteOnTelegram: true
disableWebPreviewOnTelegram: false
useEmbeds: 'auto' # always / never / auto
debug: false
messageTimeoutAmount: 24
messageTimeoutUnit: 'hours' # This string must be a valid Moment time format. Example: seconds, minutes, hours, days, weeks, months, years
persistentMessageMap: false