aboutsummaryrefslogtreecommitdiff
path: root/bot.py
blob: 6cc04d19d145930520c1a3ee41f2a1f85fe505b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import os
import random

from dotenv import load_dotenv
from discord.ext import commands

from henti import Numbers as n

load_dotenv()  # load .env file
TOKEN = os.getenv('DISCORD_TOKEN')
bot = commands.Bot(command_prefix='z!')  # initialise the bot




# get title of henti
@bot.command(name='info', help='Get the title of doujin using the holy numbers')
async def getInfo(ctx, sauce):
    r = n(sauce).title()
    await ctx.send(r)

# short for the same
@bot.command(name='i', help='short fot z!title')
async def getInfo(ctx, sauce):
    r = n(sauce).title()
    await ctx.send(r)


# @bot.command(name='', help='')
# async def 




bot.run(TOKEN)