forked from chrisliebaer/kitmatheinfo-bot
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.example.toml
73 lines (54 loc) · 2.29 KB
/
config.example.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
73
# Discord bot token
bot_token = "YOUR BOT TOKEN HIER"
# File with top level message that will be posted as welcome text.
welcome = "welcome.md"
# Buttons that will be added (in order of definition) to welcome message
toc = [
{ icon = "👮", label = "Rules", file = "rules.md" },
{ icon = "🏘️", label = "About Us", file = "structure.md" },
]
# Configures self management category
[self_managment]
# Category in which channels are managed by users
category = 123456789
# Ownership enables users to own the channel they created. This means that they exclusively are permitted to modify or delete the channel.
ownership = true
# Time after last message (in seconds) in channel until channel will become abandoned and ownership will no longer be enforced. (Bot's do not count)
abandon_after = 864000
# Number of channels a user can own
limit = 5
# Time after joining the server (in seconds) until a user can create a channel
join_age_limit = 1814400
# Enables claiming of abandoned channels by everyone. Can also be used to refresh ownership by current owner.
claiming = true # not yet implemented
# Enable logging in given channel (comment to disable)
logging = 123456789
# Detailed logging will include user as well (Be carefull, might cause havok in your community)
logging_detailed = 123456789
[self_assignments]
# Text for role assignment button
label = "Roles!"
# Icon for role assignment button
icon = "👥"
# Text posted together with role assignment selection. Keep it short!
prolog = "roles.md"
[assignments.roles1]
title = "Pick your Roles1:"
roles = [
{ icon = "🖥️", label = "Role 1", subscript = "This is role 1.", role = 123456789 },
{ icon = "🧮", label = "Role 2", subscript = "Probably role 2", role = 123456789 },
{ icon = "💰", label = "Role 3", role = 123456789 }, # Note: role has no subscript
]
[assignments.roles2]
title = "Pick your Roles2:"
roles = [
{ icon = "💀", label = "Role 4", subscript = "Role 4. So many roles", role = 123456789 },
{ icon = "🍬", label = "Role 5", subscript = "u still counting?", role = 123456789 },
{ icon = "<a:fancy_emote:123456789>", label = "Role 6", role = 123456789 }, # can even use server emotes!
]
[moderation]
report_channel = 123456789
[o_phase]
password = "foobar"
role_name = "Random garbage"
channel_name = "updates"