aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/emoji_count.py
diff options
context:
space:
mode:
authorGravatar Anubhav1603 <[email protected]>2020-10-01 19:00:56 +0530
committerGravatar Anubhav1603 <[email protected]>2020-10-01 19:00:56 +0530
commit2e8a0396586dfdb9eaff8a308ef39736ccdaffb3 (patch)
tree218dcc50c86dcfa9ece7e39116ba1d77ed33ae82 /bot/exts/evergreen/emoji_count.py
parentinital commit (diff)
removed
Diffstat (limited to 'bot/exts/evergreen/emoji_count.py')
-rw-r--r--bot/exts/evergreen/emoji_count.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/bot/exts/evergreen/emoji_count.py b/bot/exts/evergreen/emoji_count.py
deleted file mode 100644
index b619f349..00000000
--- a/bot/exts/evergreen/emoji_count.py
+++ /dev/null
@@ -1,29 +0,0 @@
-import logging
-
-from discord.ext import commands
-
-log = logging.getLogger(__name__)
-
-
-class EmojiCount(commands.Cog):
- """Command that give random emoji based on category."""
-
- def __init__(self, bot: commands.Bot):
- self.bot = bot
-
- @commands.command(name="ec")
- async def ec(self, ctx, emoj: str):
- """Returns embed with emoji category and info given by user."""
- emoji = []
- for a in ctx.guild.emojis:
- for n in a.name.split('_'):
- if len(n) == 1:
- pass
- elif n.name[0] == emoji.lower():
- emoji.append(a)
- await ctx.send(emoji)
-
-
-def setup(bot: commands.Bot) -> None:
- """Emoji Count Cog load."""
- bot.add_cog(EmojiCount(bot))