Skip to content

Instantly share code, notes, and snippets.

@LyricLy
Last active June 2, 2017 05:36
Show Gist options
  • Save LyricLy/c5987a8e7eae140e4e5c9b3ee52d8106 to your computer and use it in GitHub Desktop.
Save LyricLy/c5987a8e7eae140e4e5c9b3ee52d8106 to your computer and use it in GitHub Desktop.
You seem to be in...
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