-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrename_to_settings.toml
72 lines (58 loc) · 3.47 KB
/
rename_to_settings.toml
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
# Fill out these settings, then rename the file to "settings.toml" before running the app
# This should be a list of guild_ids
# Some commands are only visible in the guilds you define here
COMMAND_GUILD_SCOPE = [] # list[int]
# This setting enables additional console log and print statements
# Also removes some optimisation like caching
# It is **highly** recommended setting this to False in production
# Default: False
ENABLE_DEBUG_MODE = false # bool
# Enabling this makes ElevatorBot sync all slash commands on startup
# Enable to update changes made, but disable if many restarts are made to prevent rate limits
# Default: True
SYNC_COMMANDS = true # bool
# This is the admin password for the website that is generated on startup
# Please change it to something only you know
# Username is "admin"
ADMIN_PASSWORD = "admin" # str
# A random assortment of letters. Used to encrypt / decrypt sensitive data
# Should not be shared with anyone
# To generate one, you can use the command `openssl rand -hex 32`
SECRET = "" # str
# The discord bot token to launch the bot
DISCORD_APPLICATION_API_KEY = "" # str
# The client id and secret of your discord web application
# This is used to authenticate the restriced sections on the website
DISCORD_CLIENT_ID = "" # str
DISCORD_CLIENT_SECRET = "" # str
WEBSITE_URL = "https://elevatorbot.ch" # str
# Your own bungie token, and you bungie secret data. Needed to access bungies api
# Oauth Client Type is Confidential
# The Redirect URL should point to yourserver.url/auth/bungie
BUNGIE_APPLICATION_API_KEY= "" # str
BUNGIE_APPLICATION_CLIENT_SECRET= "" # str
BUNGIE_APPLICATION_CLIENT_ID= "" # str
# Your steam token. This is needed to access the steam api and query the current amount of D2 players
STEAM_APPLICATION_API_KEY = "" # str
# Your GitHub api data. This is needed to automatically post bug reports on the repo when users use `/bug`
# Use this to find your own repo ID - https://stackoverflow.com/questions/13902593/how-does-one-find-out-ones-own-repo-id/13902640
GITHUB_APPLICATION_API_KEY = "" # Optional[str]
GITHUB_REPOSITORY_ID = "" # Optional[str]
# The names of the labels the issues should get
GITHUB_ISSUE_LABEL_NAMES = [] # Optional[list[str]
# ======================================================================
# This bot is designed to run on the Descend discord server, where it has some extra functionality
# Thus, some hard-coding is required. To use those functionalities on your own server, please change the following settings
# Note: Not changing these settings while the bot is not in the Descend server **will** break some things
DESCEND_GUILD_ID = 669293365900214293 # int
# Channel Ids
DESCEND_CHANNEL_ADMIN_ID = 671264040974024705 # int
DESCEND_CHANNEL_BOT_DEV_ID = 671264040974024705 # int
DESCEND_CHANNEL_REGISTRATION_ID = 671264040974024705 # int
DESCEND_CHANNEL_COMMUNITY_ROLES_ID = 671264040974024705 # int
DESCEND_CHANNEL_JOIN_LOG_ID = 671264040974024705 # int
DESCEND_SPAM_CHANNEL_ID = 761278600103723018 # int
# Role Ids
DESCEND_ROLE_MEMBER_ID = 769612980978843668 # int
DESCEND_ROLE_NO_NICKNAME_ID = 887021717053124659 # int
DESCEND_ROLE_FILLER_IDS = [670395920327639085, 670385837044662285, 670385313994113025, 776854211585376296] # list[int]