Add option for multiple regexes to be matched

This commit is contained in:
2024-06-18 17:26:44 +02:00
parent 1b9cbd88c4
commit 06b66dd76f
2 changed files with 164 additions and 85 deletions

View File

@ -1,2 +1,24 @@
DISCORD_BOT_TOKEN = "your_bot_token"
DISCORD_SERVER_ID = "your_server_id"
[DISCORD]
BOT_TOKEN = ""
[[SERVERS]]
SERVER_ID = ""
OUTPUT_CHANNEL_ID = ""
PREFIX_ENABLED = true
[SERVERS.COIN_REGEXES]
Bitcoin = "[13][a-km-zA-HJ-NP-Z1-9]{25,34}"
Ethereum = "0x[a-fA-F0-9]{40}"
[SERVERS.CHANNEL_BLACKLIST]
CHANNELS = [""]
[[SERVERS]]
SERVER_ID = ""
OUTPUT_CHANNEL_ID = ""
PREFIX_ENABLED = false
[SERVERS.COIN_REGEXES]
Ethereum = "0x[a-fA-F0-9]{40}"
Solana = "[1-9A-HJ-NP-Za-km-z]{32,44}"
[SERVERS.CHANNEL_BLACKLIST]
CHANNELS = []