Limit .cox to ot and staff
This commit is contained in:
parent
ee2ec67c17
commit
5174da59aa
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import discord
|
import discord
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
from discord.ext.commands import Cog
|
from discord.ext.commands import Cog
|
||||||
|
from helpers.checks import check_if_staff_or_ot
|
||||||
import textwrap
|
import textwrap
|
||||||
import PIL.Image
|
import PIL.Image
|
||||||
import PIL.ImageFilter
|
import PIL.ImageFilter
|
||||||
|
@ -13,7 +14,8 @@ class ImageManip(Cog):
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
@commands.command()
|
@commands.check(check_if_staff_or_ot)
|
||||||
|
@commands.command(hidden=True)
|
||||||
async def cox(self, ctx, *, headline: str):
|
async def cox(self, ctx, *, headline: str):
|
||||||
"""Gives a cox headline"""
|
"""Gives a cox headline"""
|
||||||
mention = ctx.author.mention
|
mention = ctx.author.mention
|
||||||
|
|
Loading…
Reference in a new issue