fixing send function
This commit is contained in:
parent
e6d68c55f2
commit
6b10a7df51
@ -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"])
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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):
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user