commit 7f678160dc5f65dddf1623764216e5b88ca52aa9 Author: TiddyT Date: Sun Mar 6 18:16:13 2022 -0600 innit diff --git a/commands/fun.py b/commands/fun.py new file mode 100644 index 0000000..810427f --- /dev/null +++ b/commands/fun.py @@ -0,0 +1,15 @@ +from discord.commands import slash_command +from discord.ext import commands +from datetime import date + +class Fun(commands.Cog, name="Fun"): + def __init__(self, bot): + self.bot = bot + + @slash_command() + async def sdate(ctx): + sdate = (date.today() - date(1993, 8, 30)).days + await ctx.respond(sdate) + +def setup(bot): + bot.add_cog(Fun(bot)) \ No newline at end of file diff --git a/commands/moderation.py b/commands/moderation.py new file mode 100644 index 0000000..e69de29 diff --git a/commands/utility.py b/commands/utility.py new file mode 100644 index 0000000..e69de29 diff --git a/kiafumi.py b/kiafumi.py new file mode 100644 index 0000000..ea9e00e --- /dev/null +++ b/kiafumi.py @@ -0,0 +1,16 @@ +import discord +from discord.ext import commands + +intents = discord.Intents.default() +intents.members = True + +bot = discord.Bot(intents=intents) + +class Kiafumi(discord.Bot): + @bot.event + async def on_ready(): + print(f'Logged on as {bot.user}!') + +bot.load_extension('commands.fun') # cogs_folder.filename + +bot.run("OTUwMTA4Nzg3MTExNTIyMzc0.YiUHww.s4ydKNtD9sTB1OpQGYdnorDf5JY") \ No newline at end of file