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
20 changes: 2 additions & 18 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,12 @@ documentation:
site:
- any:
- changed-files:
- any-glob-to-any-file: 'site/**'
- any-glob-to-any-file: 'src/web/**'

example:
- any:
- changed-files:
- any-glob-to-any-file: 'example/**'

backend:
- any:
- changed-files:
- any-glob-to-any-file: 'src/DevTools/backend/**'
- any-glob-to-any-file: 'site/backend/**'

ui:
- any:
- changed-files:
- any-glob-to-any-file: 'src/DevTools/ui/**'

static:
- any:
- changed-files:
- any-glob-to-any-file: 'site/static/**'
- any-glob-to-any-file: 'examples/**'

translation-message:
- any:
Expand Down
4 changes: 1 addition & 3 deletions agb.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
<title>Nutzungsbedingungen (AGB) - ManagerX</title>
<meta name="description" content="Nutzungsbedingungen von ManagerX" />

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">

</head>

<body>
Expand Down
4 changes: 1 addition & 3 deletions datenschutz.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
<title>Datenschutz - ManagerX</title>
<meta name="description" content="Datenschutzbestimmungen von ManagerX" />

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">

</head>

<body>
Expand Down
4 changes: 0 additions & 4 deletions docs/source/dev_guide/index.rst

This file was deleted.

230 changes: 0 additions & 230 deletions docs/source/user_guide/index.rst

This file was deleted.

9 changes: 9 additions & 0 deletions examples/bot/cog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import discord
import ezcord

class Cog(ezcord.Cog): # Create a cog
def __init__(self, bot): # Initialize the cog
self.bot = bot # Set the bot

def setup(bot):
bot.add_cog(Cog(bot)) # Add the cog to the bot
2 changes: 1 addition & 1 deletion examples/bot/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, bot):
@discord.slash_command(name="container", description="Zeigt ein Container an")
async def container(self, ctx: discord.ApplicationContext):
container = Container() # Define the Container
container.add_text("Hello World") # Add a Text to the Container
container.add_text("## Hello World") # Add a Markdown Text to the Container
container.add_separator() # Add a Separator to the Container
container.add_text("Hello World") # Add a Text to the Container
view = discord.ui.DesignerView(container, timeout=0) # Define the View
Expand Down
14 changes: 14 additions & 0 deletions examples/bot/slash_command.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import discord
import ezcord
from discord import slash_command

class SlashCommand(ezcord.Cog):
def __init__(self, bot):
self.bot = bot

@slash_command(name="ping", description="Pong!") # Create a slash command
async def ping(self, ctx): # Define the slash command
await ctx.respond("Pong!") # Send a message

def setup(bot):
bot.add_cog(SlashCommand(bot))
4 changes: 1 addition & 3 deletions impressum.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
<title>Impressum - ManagerX</title>
<meta name="description" content="Impressum von ManagerX" />

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">

</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ManagerX - Der ultimative Discord Bot</title>
<title>ManagerX - Discord Bot</title>
<meta name="description" content="ManagerX - Moderation, Levelsystem, Globalchat und mehr für deinen Discord Server" />
<meta name="author" content="ManagerX" />

<meta property="og:title" content="ManagerX - Der ultimative Discord Bot" />
<meta property="og:title" content="ManagerX - Discord Bot" />
<meta property="og:description" content="Moderation, Levelsystem, Globalchat und mehr für deinen Discord Server" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/logo.png" />
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
# API Routes für Dashboard
from src.api.dashboard.routes import set_bot_instance, router as dashboard_router

# =============================================================================
# ============================================================================
# SETUP
# =============================================================================
# ============================================================================
BASEDIR = Path(__file__).resolve().parent
load_dotenv(dotenv_path=BASEDIR / 'config' / '.env')
colorama_init(autoreset=True)
Expand Down
Loading