universalducks/admin.py

11 lines
279 B
Python
Raw Normal View History

2021-07-21 16:41:45 -05:00
class Admin:
def __init__(self, nick):
self.nicks = []
self.nicks.append(nick)
def __eq__(self, val):
return val in self.nicks
def append(self, nick):
self.nicks.append(nick)
def remove(self, nick):
self.nicks.remove(nick)