diff --git a/main.py b/main.py index 83febd53..4cd1032f 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,5 @@ import asyncio import datetime -import random from contextlib import closing from typing import Optional @@ -9,7 +8,7 @@ import mariadb from decouple import config from discord import Embed from discord.ext import commands, tasks -from discord.ext.commands import when_mentioned_or, is_owner, guild_only, has_permissions, cooldown, BucketType +from discord.ext.commands import when_mentioned_or, is_owner, guild_only, has_permissions import db import settings @@ -171,15 +170,6 @@ async def leave(ctx): await ctx.guild.leave() -@client.command() -@guild_only() -@cooldown(1, 300, BucketType.guild) -async def someone(ctx): - """Tags Someone Randomly in the Server""" - - await ctx.send(random.choice(tuple(member.mention for member in ctx.guild.members if not member.bot))) - - @client.command(name='help') async def _help(ctx, *, command: str = None): """Shows help about a command or the bot""" @@ -609,4 +599,13 @@ async def colour_change_before(): role_to_change = get(guild.roles, name=role_name) -colour_change.start()""" +colour_change.start() +@client.command() +@guild_only() +@cooldown(1, 300, BucketType.guild) +async def someone(ctx): + """"""Tags Someone Randomly in the Server"""""" + + await ctx.send(random.choice(tuple(member.mention for member in ctx.guild.members if not member.bot))) + +"""