Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 28 additions & 12 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,60 @@
"labels": [
"dependencies"
],
"prHourlyLimit": 1,
"prConcurrentLimit": 2,
"prHourlyLimit": 0,
"prConcurrentLimit": 10,
"dependencyDashboard": true,
"dependencyDashboardTitle": "ManagerX – Dependency Updates",
"automerge": false,
"rangeStrategy": "pin",
"timezone": "Europe/Berlin",
"schedule": [
"at any time on the weekend"
],
"npm": {
"npmrc": "legacy-peer-deps=true"
},
"pip_requirements": {
"fileMatch": [
"(^|/)requirements\\.txt$",
"^requirements/.*\\.txt$"
"(^|/)requirements/.*\\.txt$",
"(^|/)req\\.txt$"
]
},
"packageRules": [
{
"matchManagers": [
"npm"
],
"groupName": "Node.js Updates",
"description": "Fasst alle Node.js/NPM Updates inklusive Peer-Dep-Fix zusammen"
"groupName": "Frontend & Dashboard",
"matchPackagePatterns": [
"*"
]
},
{
"matchManagers": [
"pip_requirements",
"pipenv",
"poetry"
"pip_requirements"
],
"groupName": "Python Updates",
"description": "Fasst alle Python-Updates aus Root und Unterordnern zusammen"
"groupName": "Python Bot Core",
"matchPackagePatterns": [
"*"
]
},
{
"matchManagers": [
"github-actions"
],
"groupName": "GitHub Actions Updates"
"groupName": "CI/CD Actions",
"matchPackagePatterns": [
"*"
]
},
{
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "All Non-Major Updates",
"description": "Fasst alles außer große Versionssprünge zusammen"
}
]
}
1 change: 0 additions & 1 deletion src/bot/cogs/guild/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from discord.ui import Container, DesignerView, Thumbnail, Section, TextDisplay
from discord.ui.separator import SeparatorSpacingSize
from src.bot.core.constants import FOOTER

class Utility(ezcord.Cog):
"""Premium Utility commands for server and user information."""
Expand Down
29 changes: 23 additions & 6 deletions src/bot/cogs/moderation/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,29 @@
from discord import SlashCommandGroup

# Importiere zentrale Konstanten
from src.bot.core import (
SUCCESS_COLOR, ERROR_COLOR, WARN_COLOR, INFO_COLOR,
emoji_yes, emoji_no, emoji_warn, emoji_info,
emoji_member, emoji_staff, emoji_summary, emoji_slowmode,
AUTHOR, FLOOTER
)
# Branding & Colors (Local Fallbacks)
SUCCESS_COLOR = 0x2ecc71
ERROR_COLOR = 0xe74c3c
WARN_COLOR = 0xf39c12
INFO_COLOR = 0x3498db
AUTHOR = "ManagerX"
FLOOTER = "ManagerX Bot"

# Emojis directly from UI module
try:
from src.bot.ui.emojis import (
emoji_yes, emoji_no, emoji_warn, emoji_info,
emoji_member, emoji_staff, emoji_summary, emoji_slowmode
)
except ImportError:
emoji_yes = "✅"
emoji_no = "❌"
emoji_warn = "⚠️"
emoji_info = "ℹ️"
emoji_member = "👤"
emoji_staff = "🛡️"
emoji_summary = "📋"
emoji_slowmode = "⏳"
# ───────────────────────────────────────────────
# >> Cogs
# ───────────────────────────────────────────────
Expand Down
31 changes: 25 additions & 6 deletions src/bot/cogs/moderation/warn.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,31 @@
from typing import Optional

# Importiere zentrale Konstanten
from src.bot.core import (
SUCCESS_COLOR, ERROR_COLOR, WARN_COLOR, INFO_COLOR,
emoji_yes, emoji_no, emoji_warn, emoji_info,
emoji_member, emoji_staff, emoji_summary, emoji_slowmode,
emoji_circleinfo, AUTHOR, FLOOTER
)
# Branding & Colors (Local Fallbacks)
SUCCESS_COLOR = 0x2ecc71
ERROR_COLOR = 0xe74c3c
WARN_COLOR = 0xf39c12
INFO_COLOR = 0x3498db
AUTHOR = "ManagerX"
FLOOTER = "ManagerX Bot"

# Emojis directly from UI module
try:
from src.bot.ui.emojis import (
emoji_yes, emoji_no, emoji_warn, emoji_info,
emoji_member, emoji_staff, emoji_summary, emoji_slowmode,
emoji_circleinfo
)
except ImportError:
emoji_yes = "✅"
emoji_no = "❌"
emoji_warn = "⚠️"
emoji_info = "ℹ️"
emoji_member = "👤"
emoji_staff = "🛡️"
emoji_summary = "📋"
emoji_slowmode = "⏳"
emoji_circleinfo = "ℹ️"


# ───────────────────────────────────────────────
Expand Down
12 changes: 11 additions & 1 deletion src/bot/cogs/user/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
import json
from datetime import datetime

from src.bot.core.constants import ERROR_COLOR, SUCCESS_COLOR, emoji_warn, AUTHOR, FOOTER
# Branding & Colors (Local Fallbacks)
SUCCESS_COLOR = 0x2ecc71
ERROR_COLOR = 0xe74c3c
AUTHOR = "ManagerX"
FOOTER = "ManagerX Bot"

# Emojis directly from UI module
try:
from src.bot.ui.emojis import emoji_warn
except ImportError:
emoji_warn = "⚠️"
from mx_devtools import (
StatsDB, WarnDatabase, NotesDatabase, LevelDatabase,
ProfileDB, SettingsDB, AutoDeleteDB,
Expand Down
25 changes: 1 addition & 24 deletions src/bot/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,5 @@
'DashboardTask',
'print_logo',
'format_uptime',
'truncate_text',
'SUCCESS_COLOR',
'ERROR_COLOR',
'WARN_COLOR',
'INFO_COLOR',
'emoji_yes',
'emoji_no',
'emoji_warn',
'emoji_info',
'emoji_forbidden',
'emoji_member',
'emoji_staff',
'emoji_summary',
'emoji_slowmode',
'emoji_channel',
'emoji_moderator',
'emoji_statistics',
'emoji_annoattention',
'emoji_owner',
'emoji_delete',
'emoji_circleinfo',
'AUTHOR',
'FLOOTER',
'FOOTER'
'truncate_text'
]
9 changes: 8 additions & 1 deletion src/web/data/roadmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ export const ROADMAP_ITEMS: RoadmapItem[] = [
status: "in-progress",
description: "Synchronere Einstellungen zwischen Discord und dieser Website.",
icon: Cpu,
date: "In Entwicklung"
date: "Q1 2026"
},
{
title: "internationalisierung",
status: "in-progress",
description: "Internationalisierung des Discords Bot.",
icon: Globe,
date: "Q1 2026"
},
{
title: "Plugin Marktplatz",
Expand Down
Loading