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)