20 lines
372 B
Python
20 lines
372 B
Python
"""
|
|
This framework can be used to create new Cogs, remember to add them in the config
|
|
|
|
https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html
|
|
"""
|
|
|
|
# IMPORTS
|
|
import discord
|
|
from discord.ext import commands
|
|
|
|
# COG INIT
|
|
class Foo(commands.Cog):
|
|
def __init__(self, bot):
|
|
self.bot = bot
|
|
|
|
# COG BODY
|
|
|
|
# COG ENDING
|
|
def setup(bot):
|
|
bot.add_cog(Foo(bot)) |