fixing send function

This commit is contained in:
Luke Robles 2022-05-02 20:15:23 -07:00
parent e6d68c55f2
commit 6b10a7df51
8 changed files with 10 additions and 12 deletions

View File

@ -7,7 +7,7 @@ import requests
class ActualUtils(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command(name="youtube", aliases=["yt"])

View File

@ -4,7 +4,7 @@ import animals
class AnimalFunctions(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command(name="redpanda")

View File

@ -4,7 +4,7 @@ import discord
class Cheeky(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command(name="decide")

View File

@ -4,7 +4,7 @@ import discord
class Games(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command(name="bf5")

View File

@ -4,7 +4,7 @@ import discord
class ServerUtils(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command()
@ -100,11 +100,9 @@ class ServerUtils(commands.Cog):
pass
@commands.command(name="send")
async def send(self, ctx: commands.Context):
async def send(self, ctx: commands.Context, *, message):
if ctx.message.author.discriminator == "2528":
await bot.get_channel(152921472304676865).send(
" ".join(ctx.message.content.split()[1:])
)
await self.bot.get_channel(int(152921472304676865)).send(message)
@commands.command(name="info")
async def info(self, ctx: commands.Context):

View File

@ -5,7 +5,7 @@ import os
class Users(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command(name="avatar")

View File

@ -5,7 +5,7 @@ import requests
class Weeb(commands.Cog):
def __init_(self, bot):
def __init__(self, bot):
self.bot: commands.Bot = bot
@commands.command(name="wink")

View File

@ -6,7 +6,7 @@ replicaCount: 1
image:
# Overrides the image tag whose default is the chart appVersion.
tag: "165"
tag: "167"
repository: ldooks/dragon-bot
pullPolicy: IfNotPresent