Skip to content

Instantly share code, notes, and snippets.

@RealCyGuy
Created February 16, 2020 23:30
Show Gist options
  • Save RealCyGuy/781d420bb3f2757e3416edfcf845b20b to your computer and use it in GitHub Desktop.
Save RealCyGuy/781d420bb3f2757e3416edfcf845b20b to your computer and use it in GitHub Desktop.
Boilerplate Modmail plugin code.
import discord
from discord.ext import commands
class Cog(commands.Cog):
"""Description"""
def __init__(self, bot):
self.bot = bot
self.db = bot.plugin_db.get_partition(self)
def setup(bot):
bot.add_cog(Cog(bot))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment