From 5c420d5deab2a02535b5f52d1113ec29109a263c Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 17 Apr 2025 22:51:44 -0400 Subject: [PATCH] add portrait command --- nomen/main.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nomen/main.py b/nomen/main.py index fe33fbf..fcd53a3 100644 --- a/nomen/main.py +++ b/nomen/main.py @@ -7,7 +7,7 @@ import textwrap import traceback from contextlib import redirect_stdout -from disnake import Guild, Intents, Message +from disnake import Embed, Guild, Intents, Message from disnake.ext import commands from disnake.ext.commands import Bot, Paginator from dotenv import find_dotenv, load_dotenv @@ -290,6 +290,17 @@ async def prefix(ctx, prefix=None): await ctx.send(f"Set {ctx.guild.name} prefix to `{prefix}`") +@bot.command() +async def portrait(ctx): + embed = Embed( + title="Nomen's Portrait", + description="Made by the fantastic aquaholic! [Source here!](https://pub.mastodon.sleeping.town/@aqua/114356664668145919)", + ) + embed.set_image("https://inx.moe/projects/nomen/nomen.png") + + await ctx.send(embed=embed) + + def run(): try: run_db_migrations(DB_FILE)