Changed the string formatter from % to f"",

Fixed a bug related to logging [log dir does not exist on master, and needs to get created on first startup]
Added !prefadmin <user> to view preferences of players, and change them
Orgrank & name will be hidden in !alts, if the character is not in an org
Page prefix & suffix are now being relayed [for example, it affects !online
Fixed !perks
Added comments regarding external API's.
This commit is contained in:
2021-08-14 02:36:20 +02:00
parent 80b5a4b577
commit 46d0ba3634
19 changed files with 104 additions and 86 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ class PublicChannelService(BaseModule):
else:
data = self.event_service.db.query_single('SELECT org_name from all_orgs where org_id=?', [self.org_id])
self.org_name = data.org_name if data else 'Unknown Org'
self.logger.info("Org Id: %d" % self.org_id)
self.logger.info("Org Name: %s" % self.org_name)
self.logger.info(f"Org Id: {self.org_id:d}")
self.logger.info(f"Org Name: {self.org_name}")
def remove(self, conn: Conn, packet: server_packets.PublicChannelLeft):
if conn.id != "main":