|
|
|
|
|
|
|
|
pass |
|
|
pass |
|
|
|
|
|
|
|
|
@checks.not_pm() |
|
|
@checks.not_pm() |
|
|
@checks.is_owner_or_admin() |
|
|
|
|
|
|
|
|
@checks.is_admin_or_mod() |
|
|
@bot.command(pass_context=True) |
|
|
@bot.command(pass_context=True) |
|
|
async def slowmode(self, ctx, time): |
|
|
async def slowmode(self, ctx, time): |
|
|
if time == "off" and self.slow_mode: # Turn Slow Mode off |
|
|
if time == "off" and self.slow_mode: # Turn Slow Mode off |
|
|
|
|
|
|
|
|
pass |
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@checks.is_owner_or_admin() |
|
|
|
|
|
|
|
|
@checks.is_admin_or_mod() |
|
|
@bot.command(pass_context=True) |
|
|
@bot.command(pass_context=True) |
|
|
async def emojiuse(self, ctx, emoji, *args): |
|
|
async def emojiuse(self, ctx, emoji, *args): |
|
|
# TODO: Add check that emoji is an emoji |
|
|
# TODO: Add check that emoji is an emoji |
|
|
|
|
|
|
|
|
return await self.bot.say("{} has been used {} time(s) in the last month. That's {}/day.".format(emoji, amount, useperday)) |
|
|
return await self.bot.say("{} has been used {} time(s) in the last month. That's {}/day.".format(emoji, amount, useperday)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@checks.is_admin_or_mod() |
|
|
|
|
|
@bot.command(pass_context=True) |
|
|
|
|
|
async def warn(self, ctx, user: discord.User = None): |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|