@@ -0,0 +1,13 @@
import os
# 记录加入的群组
class GroupCtl :
path = os.path.join(os.getcwd(),"joined_group.cfg")
groups:list[str] = []
def __init__(self) -> None:
fd = os.open(self.path,os.O_CREAT|os.W_OK)
with open(fd) as file :
self.groups.append(file.readline())
The note is not visible to the blocked user.