add first corg

This commit is contained in:
2026-02-28 18:49:54 +01:00
parent 292df66218
commit cb99250e03
4 changed files with 47 additions and 0 deletions

5
info.json Normal file
View File

@@ -0,0 +1,5 @@
{
"author": ["MrUnknownDE"],
"description": "Meine eigenen Custom Red-DiscordBot Cogs.",
"short": "MrUnknownDE Cogs"
}

4
mrunknownde/__init__.py Normal file
View File

@@ -0,0 +1,4 @@
from .mrunknownde import MrUnknownDE
async def setup(bot):
await bot.add_cog(MrUnknownDE(bot))

16
mrunknownde/info.json Normal file
View File

@@ -0,0 +1,16 @@
{
"author": [
"MrUnknownDE"
],
"name": "MrUnknownDE",
"short": "Mein persönliches Info-Cog.",
"description": "Stellt Informationen über MrUnknownDE bereit, inklusive der Webseite und einer kurzen Bio.",
"tags": [
"mrunknownde",
"info",
"about"
],
"requirements": [],
"min_bot_version": "3.5.0",
"end_user_data_statement": "Dieses Cog speichert keine Endbenutzerdaten."
}

View File

@@ -0,0 +1,22 @@
import discord
from redbot.core import commands
class MrUnknownDE(commands.Cog):
"""Mein persönliches Info-Cog."""
def __init__(self, bot):
self.bot = bot
@commands.hybrid_command()
async def mrunknown(self, ctx: commands.Context):
"""Zeigt Informationen über MrUnknownDE."""
embed = discord.Embed(
title="MrUnknownDE",
description="Hey! I'm Unknown, a somewhat chaotic digital creature based in Germany. This site is the central hub for my VRChat experiments, IoT drink scales, and other side projects. Feel free to look around and poke at things!",
color=discord.Color.purple(), # Ein schönes Lila als Akzentfarbe
url="https://mrunk.de"
)
embed.set_thumbnail(url="https://mrunk.de/pic/profil_pic.webp") # Optionales Thumbnail, falls vorhanden
embed.add_field(name="🌐 Webseite", value="[https://mrunk.de](https://mrunk.de)", inline=False)
await ctx.send(embed=embed)