Merge pull request #2 from The-Missing-Crowbar/rewrite3.0
Added doym command
This commit is contained in:
commit
c3d65949ce
20
scr/Modules/TMC/doym.py
Normal file
20
scr/Modules/TMC/doym.py
Normal 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))
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user