MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / get_suffix

Method get_suffix

helper/database.py:82–84  ·  view source on GitHub ↗
(self, id)

Source from the content-addressed store, hash-verified

80 await self.col.update_one({'_id': int(id)}, {'$set': {'suffix': suffix}})
81
82 async def get_suffix(self, id):
83 user = await self.col.find_one({'_id': int(id)})
84 return user.get('suffix', None)
85
86 async def set_metadata_mode(self, id, bool_meta):
87 await self.col.update_one({'_id': int(id)}, {'$set': {'metadata_mode': bool_meta}})

Callers 2

delete_suffixFunction · 0.80
see_suffixFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected