Adds a category to this message current categories list
(self, category)
| 543 | self._track_changes.add('categories') |
| 544 | |
| 545 | def add_category(self, category): |
| 546 | """ Adds a category to this message current categories list """ |
| 547 | |
| 548 | if isinstance(category, Category): |
| 549 | self.__categories.append(category.name) |
| 550 | else: |
| 551 | self.__categories.append(category) |
| 552 | self._track_changes.add('categories') |
| 553 | |
| 554 | @property |
| 555 | def importance(self): |