Added doym command

This commit is contained in:
Quentin 2021-01-22 16:16:25 -06:00
parent 7d11e22c6d
commit 0280d7a001
2 changed files with 21 additions and 1 deletions

20
scr/Modules/TMC/doym.py Normal file
View File

@ -0,0 +1,20 @@
import asyncio
import math
from datetime import datetime, timedelta
import discord
import pymysql
from discord.ext import commands
class doym(commands.Cog):
def __init__(self, client):
self.client = client
@commands.command()
async def doymCMD(self, ctx):
await ctx.channel.send("https://www.youtube.com/watch?v=5t53TcKIlMc")
def setup(client):
client.add_cog(doym(client))

View File

@ -4,7 +4,7 @@ from discord.ext.commands import Bot
token = open("../token.txt")
cogs = ["Modules.TMC.autoReply.Join", "Modules.TMC.autoReply.Leave",
"Modules.TMC.McRoll", "Modules.TMC.ParseForIssues"]
"Modules.TMC.McRoll", "Modules.TMC.ParseForIssues", "Modules.TMC.doym"]
prefix = 'o!'
intents = discord.Intents().all()