summaryrefslogtreecommitdiff
path: root/logmaster.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-08 23:40:11 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-08 23:40:11 -0300
commitfbdcd2ee71d1aa32eedc55e17adf57a39e0974b2 (patch)
tree806fa5bd1522b8465d2a25ac429616ccd62e4f54 /logmaster.py
parent8d1ae4685fd560c0de3fea9268787acf536d001b (diff)
downloadserverdata-fbdcd2ee71d1aa32eedc55e17adf57a39e0974b2.tar.gz
serverdata-fbdcd2ee71d1aa32eedc55e17adf57a39e0974b2.tar.bz2
serverdata-fbdcd2ee71d1aa32eedc55e17adf57a39e0974b2.tar.xz
serverdata-fbdcd2ee71d1aa32eedc55e17adf57a39e0974b2.zip
Modernize unlinking as well, and prepare to get Discord numeric ID laterâ„¢
The numeric ID allows you to change nickname without updating anything
Diffstat (limited to 'logmaster.py')
-rwxr-xr-xlogmaster.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/logmaster.py b/logmaster.py
index 89071ffa3..a8afa075e 100755
--- a/logmaster.py
+++ b/logmaster.py
@@ -185,6 +185,14 @@ while running:
w.execute(bf)
#stdout("Query OK: %s" % bf)
bf=""
+ ## Command: DISCORDID
+ ## Description: Replaces "?" with the Discord ID
+ ## For the associated argument.
+ ## Requires the API (WIP)
+ elif cmd == "DISCORDID":
+ ## FIXME: Query the API
+ bf=bf.replace("?%s" % cmd.replace("DISCORDID", ""), "")
+ pass
## Command: PING
## Description: Does nothing
elif cmd == "PING":