Added afk/brb
Timer messages ("Timer XX has yyy left") now get resumed after a bot restart
Alliance relay is discord compatible now. [Orgbot]
This commit is contained in:
@@ -4,7 +4,6 @@ import time
|
||||
from threading import Thread
|
||||
|
||||
import requests
|
||||
from mysql.connector.cursor import CursorBase
|
||||
|
||||
from core.buddy_service import BuddyService
|
||||
from core.cache_service import CacheService
|
||||
@@ -173,7 +172,6 @@ class OrgController:
|
||||
|
||||
with self.db.pool.get_connection() as conn:
|
||||
with conn.cursor() as cur:
|
||||
cur: CursorBase
|
||||
cur.executemany(
|
||||
"INSERT INTO all_orgs(org_id, org_name, member_count, faction, last_seen) "
|
||||
"VALUES(?, ?, ?, ?, ?) "
|
||||
@@ -235,7 +233,6 @@ class OrgController:
|
||||
with self.db.lock:
|
||||
with self.db.pool.get_connection() as conn:
|
||||
with conn.cursor() as cur:
|
||||
cur: CursorBase
|
||||
cur.executemany("INSERT INTO player(char_id, name, first_name, last_name, "
|
||||
"level, breed, gender, faction, profession, profession_title, "
|
||||
"ai_rank, ai_level, org_id, org_name, org_rank_name, "
|
||||
|
||||
Reference in New Issue
Block a user