mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-11 14:41:58 +02:00
Corrected a minor issue with seen and case Sensitivity
This commit is contained in:
@@ -19,7 +19,7 @@ class SeenObserver(PrivMsgObserverPrototype):
|
|||||||
return
|
return
|
||||||
if not self._is_idented_mod(data, connection):
|
if not self._is_idented_mod(data, connection):
|
||||||
return
|
return
|
||||||
who = data['message'].split(' ')[1]
|
who = data['messageCaseSensitive'].split(' ')[1]
|
||||||
user_provider = UserProvider()
|
user_provider = UserProvider()
|
||||||
activity = user_provider.get_activity(who)
|
activity = user_provider.get_activity(who)
|
||||||
output = data['nick']+": Ich habe "+who+" zuletzt am "+str(datetime.datetime.fromtimestamp(activity).strftime("%d.%m.%Y um %H:%M:%S"))+ ' Uhr gesehen'
|
output = data['nick']+": Ich habe "+who+" zuletzt am "+str(datetime.datetime.fromtimestamp(activity).strftime("%d.%m.%Y um %H:%M:%S"))+ ' Uhr gesehen'
|
||||||
|
|||||||
Reference in New Issue
Block a user