Better tracking during initial configuration.

lseen_develop
bobloy 4 years ago
parent 8015e4a46d
commit ccaef6279f

@ -72,6 +72,8 @@ class LastSeen(Cog):
if member.status != self.offline_status: if member.status != self.offline_status:
last_seen = datetime.utcnow() last_seen = datetime.utcnow()
if await self.config.guild(ctx.guild).enabled():
await self.config.member(member).seen.set(last_seen.isoformat())
else: else:
last_seen = await self.config.member(member).seen() last_seen = await self.config.member(member).seen()
if last_seen is None: if last_seen is None:

Loading…
Cancel
Save