Last active
June 2, 2017 05:36
-
-
Save LyricLy/c5987a8e7eae140e4e5c9b3ee52d8106 to your computer and use it in GitHub Desktop.
You seem to be in...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
from discord.ext import commands | |
"""You seem to be in (insert channel name) meme from Nintendo Homebrew.""" | |
class DevMeme: | |
def __init__(self, bot): | |
self.bot = bot | |
@commands.command(pass_context=True) | |
async def channel(self, ctx): | |
await self.bot.delete_message(ctx.message) | |
embed = discord.Embed(description="You seem to be in <#{}>.".format(ctx.message.channel.id)) | |
await self.bot.say("", embed=embed) | |
def setup(bot): | |
bot.add_cog(DevMeme(bot)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment