This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
config.py
60 lines (47 loc) · 1.94 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# EDIT THE CONFIG HERE #
# Discord IDs
# Replace values with your own.
MUDAE_ID = 432610292342587392 # ID of Mudae bot
CHANNEL_ID = 432610292342587392 # ID of claiming channel
SERVER_ID = 432610292342587392 # ID of Discord server
USER_ID = 432610292342587392 # ID of main user
# Bot token
BOT_TOKEN = ""
# Command prefix for Mudae and roll command to use.
# Default setting below does $m
COMMAND_PREFIX = "$"
ROLL_COMMAND = "m"
# User login info.
# This is not sent to any external server, but only uses to login to browser Discord.
# See Browser.browser_login() (specifically line 58-61) in browsers.py to see how it is exactly used.
LOGIN_INFO = ("[email protected]", "password")
# Time between claim resets, in minutes.
CLAIM_DURATION = 180
# Time between roll resets, in minutes.
# Set to 0 to disable auto rolls.
ROLL_DURATION = 60
# Time between daily command resets, in minutes.
# Set to 0 to disable auto dailies.
DAILY_DURATION = 1200
# Time between kakera loot resets, in minutes. Set to 0 to always attempt kakera loot.
# Note that the kakera power usage algorithms make this somewhat more complex than a simple "reset".
# For example, if each kakera loot uses %60 power, the first loot would take 1 hour to reset.
# The next loot would take 3 hours.
# Usually 1 hour is sufficient.
KAKERA_DURATION = 60
# Maximum number of rolls per reset.
MAX_ROLLS = 10
# Set True to roll every interval despite having claims or not.
ALWAYS_ROLL = False
LOG_FILE = "./log.txt"
# SELENIUM CONFIG INFO #
# On Ubuntu, run:
# $ sudo apt update
# $ sudo apt install geckodriver
# On Windows, download from https://github.com/mozilla/geckodriver/releases and extract the Windows version
# Make sure to use double backslashes "\\" in Windows when typing paths
# Ex. "C:\\Program Files\\Mozilla Firefox\\geckodriver.exe"
# On Linux, single forward slashes are okay.
# Ex. "/usr/bin/geckodriver"
# Set to None if geckodriver is in the PATH
WEB_DRIVER_PATH = "/usr/bin/geckodriver"