def METHOD_NAME(command, channel, _, key=None, index=None, **kwargs):
    if key is not None:
        result = self.mywordlist.fetch_value(skey=key, idx=index)
        channel(str(result))
    else:
        channel(_("Missing key"))
        result = ""
    return "wordlist", result