def METHOD_NAME(self):
    index = self.records.index(self.record) + 1
    if self.category:
        with suppress(StopIteration):
            return next(c for c in self.category.text_channels if str(index) in c.name)