CogLint initial commit

Signed-off-by: Bobloy <alboblexloy@gmail.com>
This commit is contained in:
Bobloy 2018-05-10 15:18:28 -04:00
parent 0e991dc81e
commit 3f25d1121f
2 changed files with 31 additions and 0 deletions

5
coglint/__init__.py Normal file
View File

@ -0,0 +1,5 @@
from .coglint import CogLint
def setup(bot):
bot.add_cog(CogLint(bot))

26
coglint/coglint.py Normal file
View File

@ -0,0 +1,26 @@
import discord
from discord.ext import commands
from redbot.core import Config, checks, RedContext
from redbot.core.bot import Red
import pylint
class CogLint:
"""
V3 Cog Template
"""
def __init__(self, bot: Red):
self.bot = bot
self.config = Config.get_conf(self, identifier=9811198108111121, force_registration=True)
default_global = {}
default_guild = {}
self.config.register_global(**default_global)
self.config.register_guild(**default_guild)
@commands.command()
async def lint(self, ctx: RedContext):
await ctx.send("Hello World")