-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py.example
More file actions
37 lines (30 loc) · 1.02 KB
/
Copy pathconfig.py.example
File metadata and controls
37 lines (30 loc) · 1.02 KB
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
import discord
from datetime import timedelta
# Main checkmarks
NEW_DAY_NOTIFICATION = True
CHECK_BAD_WORDS = True
# Bot initialization
TOKEN: str = "token"
APP_ID: str = "application id"
MAIN_CHANNEL_ID = integer
BOT_NAME = "Name"
PREFIX: str = "$" # Additional prefix for commands
# Variable declaration
# Colors
COLOR_RED = discord.Colour.red()
COLOR_BLUE = discord.Colour.blue()
COLOR_ORANGE = discord.Colour.orange()
COLOR_GREEN = discord.Colour.green()
COLOR_YELLOW = discord.Colour.yellow()
COLOR_DISCORD = discord.Colour(0x36393E)
# Punishment zone
BAD_ROLE: str = "Невоспитанный"
GOOD_ROLE: str = "Приличный"
ROLES = ((GOOD_ROLE, discord.Permissions(permissions=629886015757889), COLOR_GREEN),
(BAD_ROLE, discord.Permissions(permissions=27216204471873), COLOR_RED))
SWEAR_THRESHOLD = 3
BAD_REPUTATION_DURATION = timedelta(hours=2)
SWEAR_MUTE_DURATION = timedelta(minutes=30)
SAY_THRESHOLD = 10
SAY_DURATION = timedelta(seconds=20)
REPLACE_WORD = "АТАТА"