mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
initial commit
This commit is contained in:
20
cogs/livecontainer/26jit.py
Normal file
20
cogs/livecontainer/26jit.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context
|
||||
|
||||
|
||||
def jit26_command():
|
||||
async def command(self, context: Context):
|
||||
embed = discord.Embed(
|
||||
title="Hello World",
|
||||
description="hello world",
|
||||
color=0x0169FF,
|
||||
)
|
||||
|
||||
if context.interaction:
|
||||
await context.interaction.response.send_message(embed=embed, ephemeral=True)
|
||||
else:
|
||||
await context.send(embed=embed)
|
||||
|
||||
return command
|
||||
|
||||
Reference in New Issue
Block a user