(self, id)
| 66 | await self.col.update_one({'_id': int(id)}, {'$set': {'caption': caption}}) |
| 67 | |
| 68 | async def get_caption(self, id): |
| 69 | user = await self.col.find_one({'_id': int(id)}) |
| 70 | return user.get('caption', None) |
| 71 | |
| 72 | async def set_prefix(self, id, prefix): |
| 73 | await self.col.update_one({'_id': int(id)}, {'$set': {'prefix': prefix}}) |
no outgoing calls
no test coverage detected