Cleanup part 2 and Beta 20 requirements
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user