

def replace(self, irc, msg, args, user, channel, id, text):
    "[<channel>] <id> <text>\n        Replace quote <id> with <text>. <channel> is only necessary if\n        the message isn't sent in the channel itself.\n        "
    try:
        record = self.db.get(channel, id)
        channel.checkChangeAllowed(irc, msg, channel, user, record)
        record.text = text
        self.db.set(channel, id, record)
        irc.replySuccess()
    except KeyError:
        self.noSuchRecord(irc, channel, id)

dataset/ETHPy150Open ProgVal/Limnoria/plugins/Quote/plugin.py Quote.replace/VarMisuse@43/107 `self`->`channel`