diff --git a/lseen/info..json b/lseen/info..json index 9f69325..3daec5a 100644 --- a/lseen/info..json +++ b/lseen/info..json @@ -10,7 +10,7 @@ "description": "Keep track of when users were last seen online", "hidden": true, "install_msg": "Thank you for installing LastSeen. Get started with `[p]help LastSeen`", - "requirements": [], + "requirements": ["python-dateutil"], "short": "Last seen tracker", "tags": [ "bobloy", diff --git a/lseen/lseen.py b/lseen/lseen.py index 7693385..e1aa76d 100644 --- a/lseen/lseen.py +++ b/lseen/lseen.py @@ -71,19 +71,11 @@ class LastSeen: # embed = discord.Embed( # description="{} was last seen at this date and time".format(member.display_name), - # timestamp=self.get_date_time(last_seen)) + # timestamp=last_seen) embed = discord.Embed(timestamp=last_seen) await ctx.send(embed=embed) - # async def on_socket_raw_receive(self, data): - # try: - # if type(data) == str: - # raw = json.loads(data) - # print(data) - # except: - # print(data) - async def on_member_update(self, before: discord.Member, after: discord.Member): if before.status != self.offline_status and after.status == self.offline_status: if not await self.config.guild(before.guild).enabled():