Files
Syntrel/cogs/fun/randomfact.py

20 lines
559 B
Python
Raw Permalink Normal View History

2025-09-14 18:54:56 -04:00
import aiohttp
import discord
from discord.ext import commands
2025-11-02 23:32:52 -05:00
def randomfact_command():
2025-09-14 18:54:56 -04:00
@commands.hybrid_command(name="randomfact", description="Get a random fact.")
async def randomfact(self, context):
embed = discord.Embed(
title="Command Disabled",
description="This command is currently disabled.",
color=0xE02B2B,
)
2025-11-02 23:32:52 -05:00
embed.set_author(
name="Fun", icon_url="https://yes.nighty.works/raw/eW5lLm.webp"
)
await context.send(embed=embed)
2025-11-02 23:32:52 -05:00
return randomfact