mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
going to delete db as well
This commit is contained in:
parent
23564fc735
commit
dfbc80cac7
@ -15,7 +15,7 @@ class BotUsers():
|
||||
self.online = []
|
||||
self.offline = []
|
||||
for user_id in self.all.keys():
|
||||
self.offline.append(user_id)
|
||||
self.offline.append(int(user_id))
|
||||
self.current = {}
|
||||
|
||||
def whois(self, nick):
|
||||
@ -27,7 +27,7 @@ class BotUsers():
|
||||
def whois_id(self, nick):
|
||||
nick = Identifier(nick)
|
||||
nick_id = botdb.db.get_nick_id(nick, create=True)
|
||||
return nick_id
|
||||
return int(nick_id)
|
||||
|
||||
def save_user_db(self):
|
||||
botdb.set_bot_value('users', self.all)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user