

def sign_book(self, author, title):
    'Sign current book in hand'
    book = self._setup_book()
    if (title is None):
        return False
    book.nbt['author'] = nbt.TagString(author)
    book.nbt['title'] = nbt.TagString(title)
    book.item_id = 387
    self.channels.send('MC|BSign', self._pack_book(book))

dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/plugins/helpers/interact.py InteractPlugin.sign_book/VarMisuse@26/40 `book`->`title`