mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
chore: ruff formatting
This commit is contained in:
@@ -2,6 +2,7 @@ import aiohttp
|
||||
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):
|
||||
@@ -10,7 +11,9 @@ def randomfact_command():
|
||||
description="This command is currently disabled.",
|
||||
color=0xE02B2B,
|
||||
)
|
||||
embed.set_author(name="Fun", icon_url="https://yes.nighty.works/raw/eW5lLm.webp")
|
||||
embed.set_author(
|
||||
name="Fun", icon_url="https://yes.nighty.works/raw/eW5lLm.webp"
|
||||
)
|
||||
await context.send(embed=embed)
|
||||
|
||||
|
||||
return randomfact
|
||||
|
||||
Reference in New Issue
Block a user