diakonos/cherubim/fun.py
2024-01-17 00:20:44 -05:00

33 lines
1.0 KiB
Python

from redbot.core import commands
import discord
import os
dir_path = os.path.dirname(__file__)
class Fun(commands.Cog):
@commands.command()
async def dab(self, ctx, item: str=None):
img = discord.File(f"{dir_path}/horsedabbing.jpg")
if item:
await ctx.send(f"{ctx.author.mention} dabs on {item}.", file=img)
else:
await ctx.send(f"{ctx.author.mention} dabs.", file=img)
@commands.command()
async def slap(self, ctx, item: str=None):
if item:
if item == "<@186046294286925824>":
item = "a random, poor, innocent angel of God"
await ctx.send(f"{ctx.author.mention} slaps {item} with a fish. :fish:")
else:
await ctx.send(f"{ctx.author.mention} didn't target anything and accidentally slapped themselves with a fish. :fish:")
@commands.command()
async def kill(self, ctx, item: str=None):
if item:
await ctx.send(f"{item} :gun:")
else:
await ctx.send("How am I supposed to kill nothing?!")