mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
chore(idevice && keanu): read description
Added 'idevice' as a help category and updated related command references for consistency. The Keanu command now displays a random image from a predefined list instead of a static image.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context
|
||||
import random
|
||||
|
||||
|
||||
class Keanu(commands.Cog, name="keanu"):
|
||||
@@ -12,12 +13,33 @@ class Keanu(commands.Cog, name="keanu"):
|
||||
description="Reeves",
|
||||
)
|
||||
async def keanu(self, context: Context) -> None:
|
||||
images = [
|
||||
"https://yes.nighty.works/raw/z0HqUM.png",
|
||||
"https://yes.nighty.works/raw/1Jc0j6.avif",
|
||||
"https://yes.nighty.works/raw/uQyDyg.webp",
|
||||
"https://yes.nighty.works/raw/LzrPZz.png",
|
||||
"https://yes.nighty.works/raw/BZgKzR.jpg",
|
||||
"https://yes.nighty.works/raw/xOzCta.jpg",
|
||||
"https://yes.nighty.works/raw/eWvQa5.webp",
|
||||
"https://yes.nighty.works/raw/Qg9HJr.webp",
|
||||
"https://yes.nighty.works/raw/tYfOEn.webp",
|
||||
"https://yes.nighty.works/raw/kZS1Mu.jpg",
|
||||
"https://yes.nighty.works/raw/E83And.png",
|
||||
"https://yes.nighty.works/raw/PRr6ln.jpg",
|
||||
"https://yes.nighty.works/raw/ZlprB5.jpg",
|
||||
"https://yes.nighty.works/raw/BvcXOg.jpg",
|
||||
"https://yes.nighty.works/raw/C7gy4v.jpg",
|
||||
"https://yes.nighty.works/raw/XqHg1q.jpg",
|
||||
"https://yes.nighty.works/raw/RUXNK7.png",
|
||||
"https://yes.nighty.works/raw/CBNs9L.jpg"
|
||||
]
|
||||
|
||||
embed = discord.Embed(
|
||||
description="## Reeves",
|
||||
color=0x7289DA,
|
||||
)
|
||||
embed.set_author(name="Keanu", icon_url="https://yes.nighty.works/raw/YxMC0r.png")
|
||||
embed.set_image(url="https://yes.nighty.works/raw/JqDYPJ.avif")
|
||||
embed.set_image(url=random.choice(images))
|
||||
if getattr(context, "interaction", None):
|
||||
inter = context.interaction
|
||||
if not inter.response.is_done():
|
||||
|
||||
Reference in New Issue
Block a user