fuit gummer

This commit is contained in:
CF committed 2025-05-26 12:50:14 -07:00
1 parent 1001267ce9
commit cd273c4eba
1 file changed
+23
+23
View File
@@ -26,6 +26,11 @@ def emojer():
moji = random.choices(e, k=3) moji = random.choices(e, k=3)
return " ".join(moji) return " ".join(moji)
def fuit_response():
vid = secrets.choice(os.listdir("'.\\assets\\vid\\"))
ourfile = discord.File(vid)
return ourfile
async def doccy_response(): async def doccy_response():
doccy = jackblack() doccy = jackblack()
@@ -34,14 +39,26 @@ async def doccy_response():
return resp return resp
@bot.command(hidden=True)
@commands.is_owner()
async def testfruit(ctx):
fuit = fuit_response()
await ctx.send(fuit)
async def build_response(): async def build_response():
fuit = fuit_response()
emoji_response = emojer() emoji_response = emojer()
doccy = await doccy_response() doccy = await doccy_response()
if random.randint(0, 9) == 1: if random.randint(0, 9) == 1:
if random.randomint(0,1):
resps = emoji_response resps = emoji_response
else:
resps = fuit
else: else:
resps = doccy resps = doccy
'''resps = [ '''resps = [
doccy, doccy,
emoji_response, emoji_response,
@@ -54,9 +71,15 @@ async def build_response():
async def video_response(): async def video_response():
pass pass
@bot.command()
async def d20(ctx):
await ctx.send(f'Rolled 🎲 {random.randint(1, 20)}')
@bot.event @bot.event
async def on_message(message): async def on_message(message):
if bot.user.mentioned_in(message): if bot.user.mentioned_in(message):
if random.randomint(0, 10) == 5:
pass
response = await build_response() response = await build_response()
if response.startswith("<https://"): if response.startswith("<https://"):
pass pass