This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwa_settings.py
65 lines (62 loc) · 2.73 KB
/
wa_settings.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
class WA_Settings:
# GAMELIST
WA_Gamelist = {
'interval': 10, # WormNET game list query interval in seconds.
'urls': [
'http://wormnet1.team17.com/wormageddonweb/GameList.asp?Channel=AnythingGoes', # T17 WormNET
'http://wormnet.net/wormageddonweb/GameList.asp?Channel=AnythingGoes' # Community server
]
}
WA_IRC = {
'hostname': 'wormnet1.team17.com',
'port': 6667,
'username': 'Discord',
'password': 'PHILCARLISLE'[::-1],
'snooper': 'WebSnoop',
'reply_message': 'This is a bot. I forward messages between Discord and WormNet. Feel free to'
' join https://discord.gg/UBRBhk6 to meet all other wormers on discord!',
'help_message': r'\bHelp is also available from the W:A community via Discord. _ _ _ _ _ _ _ _ _ _ _ _ _'
r' \BYou can join the \wWorms Armageddon \Bserver here:'
r' \Rhttps://\rdiscord.gg/UBRBhk6'.replace('_', '\N{NO-BREAK SPACE}'),
'channels': ['anythinggoes', 'help'],
'ignore': [ # WormNET usernames whose messages should not be forwarded to discord
# 'WormsLeague', # Spammer
# 'CorujaBOT' # League spammer
]
}
# DISCORD
WA_Discord = {
'token': '[discord-token]',
'http_redir_url': 'http://redirect-http-to-wa.com:17012',
'embed_color': 0xffa300,
'embed_icon': 'https://cdn.discordapp.com/emojis/501802399565086720.png?size=32',
'guilds': {
# Worms Armageddon (formally Dōjō)
416225356706480128: { # Discord Server ID
'disable_forwarding': False, # If true: Only reads WormNET messages, disables sending from this server
'gamelist': 783363290557579305, # Discord channel ID to add the game list embed to
'channels': {
783002654501634058: 'anythinggoes', # Discord channel ID that will mirror WormNET AnythingGoes channel
783362534451314718: 'help' # Discord channel ID that will mirror WormNET Help channel
},
'wormnet_channel_settings': {
'anythinggoes': 'Pf,Be',
'help': 'Tf'
}
},
# TeamWormers take 2 / Worms Universe (RU/EN)
918454442079178813: {
'gamelist': 918454442800607247,
'channels': {
918454442800607246: 'anythinggoes',
983773668041703464: 'help'
}
}
}
}
# HTTP Redir server
WA_HTTP_Redir = {
'host_ip': '0.0.0.0',
'host_port': 17012,
'server_headers': {'Server': ''}
}