ADD: fortune cookie command

ipm
Kamal Curi 2 years ago
parent bb05752f59
commit 2cd33a10a6

@ -583,6 +583,14 @@ async def roulette(bot:object) -> str:
comlock['roulette'] = False
return 0
@client.command(aliases=['fc'])
async def fortune(bot:object) -> str:
os.system("fortune > /tmp/fortune")
cookie = open('/tmp/fortune', mode='r')
cookie = cookie.read()
return await bot.send("```\n" + cookie + "\n```")
@client.command(aliases=['dbg'])
async def neeble_debug(bot:object) -> str:
"""

Loading…
Cancel
Save