-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig_example.yaml
179 lines (141 loc) · 5.03 KB
/
config_example.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
DISCORD:
TOKEN: Your discord bot token
GUILD_NAME: Your guild name
# This will only be used if -test is added to startup
# No need to fill this in unless you want to debug the bot
DEBUG:
TOKEN: Keep empty
GUILD_NAME: Keep empty
# Default prefix for commands is !, can be changed to $, &, and others
PREFIX: '!'
# The role names for certain groups of people
# Please make these roles first before running the bot
# If empty 'everyone' will be used instead
ROLES:
VERIFIED: Verified
TRYOUT: Tryout
SCHOLAR: Scholar
MANAGER: Manager
# Used for the !mute and !unmute command
MUTE: '[mute]'
# The name of the manager, used as footer in messages
MANAGER_NAME: Axie Manager
# Send error messages in dedicated channel
ERROR:
ENABLED: True
CHANNEL: 🐞┃bot-errors
# Please add the custom emojis for SLP and AXS, and specify the names of the emojis below
EMOJIS:
# This emoji is used by LEADERBOARD and PRICES
SLP: slp
# These emojis are used by PRICES
AXS: axs
ETH: eth
# If people use the ✅ emoji as reaction under a bot message send in the welcome channel they will get the 'verified' role
# Make a bot message using the !announce <channel> command
WELCOME_CHANNEL: 👋┃welcome
###################
###### Loops ######
###################
LOOPS:
# If ENABLED: True, the bot will send alerts of your axies specified in the 'Axie Builds' spreadsheet
# See the (https://github.com/StephanAkkerman/Axie_Manager_Bot/tree/main#alerts) for setting up this spreadsheet
AXIE_ALERT:
ENABLED: True
CHANNEL: 💎┃bot-alerts
# If ENABLED: True, the bot will send messages with recent buys and sells of managers
AXIE_TRADES:
ENABLED: True
CHANNEL: 🤝┃axie-trades
# If ENABLED: True, the bot will clean the specified channel every 24 hours
CLEAN_CHANNEL:
ENABLED: True
HOURS: 24
CHANNEL: 💎┃bot-alerts
# If ENABLED: True, the bot will upload new instagram messages of the user in the specified channel
INSTAGRAM:
ENABLED: True
CHANNEL: 💗┃social-media
USERNAME: Axie_Manager
# If ENABLED: True, the bot will send a message every 4 hours containing the top scholars sorted by MMR
LEADERBOARD:
ENABLED: True
CHANNEL: 🏆┃leaderboard
# If ENABLED: True, the bot will send AXS, SLP and floor price updates every 4 hours
PRICES:
ENABLED: True
CHANNEL: 📈┃price-updates
# If ENABLED: True, the bot will post a message before the daily reset tagging the scholars if did not yet did all the quests
SLP_WARNING:
ENABLED: True
CHANNEL: ❌┃warnings
##################
#### Commands ####
##################
COMMANDS:
# !announce <channel>: Admins can use this to announce a message in certain channel
ANNOUNCE: True
# !clear x: Will clear last x messages
CLEAR: True
# !encrypt msg: Encrypts a message using your personal fernet key
ENCRYPT:
ENABLED: True
# Copy here your fernet key that you get after executing `python src/setup.py`
# Or leave the old one here, but I would not suggest that for safety reasons
KEY: VS8rLHVcDZEantARsKDrFKeg6BfJghNp0R8YyDSnbCw=
# !funds <ronin address>: Adds your funds address to the spreadsheet
FUNDS: True
# !issue command for adding issues to github
# Needs a GitHub token, but one without any access (because it is used to create new issues)
ISSUE:
ENABLED: False
TOKEN: Your GitHub token
REPO: StephanAkkerman/Axie_Manager_Bot
# !manager: This will show the scholar their manager info
MANAGER: True
# !mute: Managers can mute other users
MUTE: True
# !mydata command: Sends a scholar their next payday and many other personal information
MYDATA: True
# !price command: If you provide the axie id it will calculate the optimal prices to sell it for
PRICE: True
# !scholar: This will add a scholar to the database
SCHOLAR: True
# !tryout: Devides the people with role 'Tryout' in x groups
TRYOUT: True
# !qr: Gives the scholar their login
QR:
ENABLED: True
CHANNEL: 🤖┃login
ROLE: Scholar
#################
### Listeners ###
#################
# Reports command usage in console
LISTENERS:
ON_COMMAND:
ENABLED: True
# The role new members will get
ON_MEMBER_JOIN:
ENABLED: False
ROLE: Tryout
# Sends new tryouts and scholars an instruction video
ON_MEMBER_UPDATE:
ENABLED: True
TRYOUT: https://youtu.be/xFjCxAezCIE
SCHOLAR: https://youtu.be/J2h_tOdMwoA
# Deletes all messages that are not from the bot in the specified channels
ON_MESSAGE:
ENABLED: True
CHANNEL: 🤖┃login
# If people react with a gem on a bot alert, the message will get deleted and they will get the message as a private message instead
ON_RAW_REACTION_ADD:
ENABLED: True
# Find the languages over here https://py-googletrans.readthedocs.io/en/latest/#googletrans-languages
TRANSLATE:
ENABLED: True
# Language is the language that needs to be translated (default is Tagalog)
LANGUAGE: 'tl'
# Destination is the output language of the translation (default is English)
DESTINATION: 'en'
CHANNEL: 💬┃translations