Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Add fool generator cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskDuck committed Apr 22, 2024
1 parent 2707c98 commit 7eae320
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion _orangcbot/extensions/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
_psl = PSL()
from typing import Optional
from random import choice
import random

_bonk_ans = ["Ouch!", "It hurts!", "Ohh noooo", "Pleaseeeeeee don't hurt me..."]
_morals = ["Excellent", "Good", "Normal", "Bad", "Very bad"]
Expand Down Expand Up @@ -131,7 +132,7 @@ async def _bonk(
# ):
# ...

import copy
# import copy

class Fun(commands.Cog):
def __init__(self, bot):
Expand Down Expand Up @@ -216,6 +217,16 @@ async def moral(self, ctx: commands.Context, member: Optional[nextcord.Member] =

await ctx.send(f"**{member.display_name}**'s moral status is **{state}**")

@commands.command()
async def fool(self, ctx: commands.Context, member: Optional[nextcord.Member] = None) -> None:
if not member: member = ctx.author
if member.id == 716134528409665586:
level = 0
else:
level = random.randint(0, 100)

await ctx.send(f"**{member.display_name}** is {level}% a fool.")



def setup(bot):
Expand Down

0 comments on commit 7eae320

Please sign in to comment.