MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / divide

Method divide

plugins/utils.py:42–44  ·  view source on GitHub ↗
(self, no, by)

Source from the content-addressed store, hash-verified

40 self.data[self.id].update({key: self.get(key) + value})
41
42 def divide(self, no, by):
43 by = 1 if int(by) == 0 else by
44 return int(no) / by
45
46 async def get_data(self, user_id):
47 bot = await db.get_bot(user_id)

Callers 1

editFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected