add portrait command

This commit is contained in:
Infinidoge 2025-04-17 22:51:44 -04:00
parent ad8f9ea77a
commit 5c420d5dea
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -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)