Skip to content

Instantly share code, notes, and snippets.

View RealCyGuy's full-sized avatar
:octocat:
Status.

Cyrus Yip RealCyGuy

:octocat:
Status.
View GitHub Profile
token = "" # no read >:(
import discord
client = discord.Client()
@client.event
async def on_message(message):
if message.author == client.user:
return
@RealCyGuy
RealCyGuy / plugin.py
Created February 16, 2020 23:30
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):
print("hi")