dokku-comp

This commit is contained in:
2023-09-11 23:04:53 +03:00
parent 4be2dc3a45
commit b9a98f1e56
25 changed files with 646 additions and 460 deletions

View File

@@ -1,10 +1,12 @@
class State:
def __init__(self):
self.talking = dict()
def is_talking(self, uid):
return uid in self.talking
def make_talking(self, uid, cid):
self.talking[uid] = cid
def aho(self, uid):
del self.talking[uid]