mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
19 lines
544 B
Python
19 lines
544 B
Python
import discord
|
|
from discord.ext import commands
|
|
|
|
|
|
def randomfact_command():
|
|
@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,
|
|
)
|
|
embed.set_author(
|
|
name="Fun", icon_url="https://yes.nighty.works/raw/eW5lLm.webp"
|
|
)
|
|
await context.send(embed=embed)
|
|
|
|
return randomfact
|