blob: 3b1e971ab3d61531c795b08c73748a97b2b0cbfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import os
from dotenv import load_dotenv
from discord.ext import commands
import henti as H
load_dotenv()
TOKEN = os.getenv('DISCORD_TOKEN')
bot = commands.Bot(command_prefix='z!')
# get title of henti
@bot.command(name='title', help='Get the title of doujin using the holy numbers')
async def nine_nine(ctx, sauce):
r = H.get_title(sauce)
await ctx.send(r)
bot.run(TOKEN)
|