updated readme
better user caching improved me.lua
This commit is contained in:
@@ -12,7 +12,7 @@ function me:action(msg)
|
||||
local target = self.database.users[msg.from.id_str]
|
||||
|
||||
if msg.from.id == self.config.admin and (msg.reply_to_message or utilities.input(msg.text)) then
|
||||
target = utilities.user_from_message(self, msg)
|
||||
target = utilities.user_from_message(self, msg, true)
|
||||
if target.err then
|
||||
bindings.sendReply(self, msg, target.err)
|
||||
return
|
||||
|
@@ -1,7 +1,10 @@
|
||||
-- Never change this plugin. It was not meant to be changed.
|
||||
-- You may add reactions. You must never remove reactions.
|
||||
-- You must never restructure. You must never disable this plugin.
|
||||
-- ~ Drew, creator, a year later.
|
||||
-- - Drew, creator, a year later.
|
||||
|
||||
-- Nevermind, Brayden changed it.
|
||||
-- - Drew, just now.
|
||||
|
||||
local reactions = {}
|
||||
|
||||
|
Reference in New Issue
Block a user