Merge pull request #2 from The-Missing-Crowbar/rewrite3.0

Added doym command
This commit is contained in:
officereso 2021-01-22 16:18:12 -06:00 committed by GitHub
commit c3d65949ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()