Cleanup part 2 and Beta 20 requirements

This commit is contained in:
aikaterna
2018-08-19 20:23:44 -07:00
parent 4f5eb77733
commit 76e8c90b5b
17 changed files with 31 additions and 44 deletions

View File

@@ -1,7 +1,5 @@
from discord.ext import commands
from .seen import Seen
def setup(bot: commands.Bot):
n = Seen(bot)
bot.add_cog(n)
def setup(bot):
bot.add_cog(Seen(bot))

View File

@@ -1,12 +1,11 @@
import asyncio
import discord
import time
from discord.ext import commands
from datetime import datetime
from redbot.core import Config
from redbot.core import Config, commands
class Seen:
"""Shows last time a user was seen in chat"""
def __init__(self, bot):
self.bot = bot
self.config = Config.get_conf(self, 2784481001, force_registration=True)