remove
This commit is contained in:
1 parent
59f0842c3b
commit
8f01f955f1
7 files changed
+12
-13
No files matched your search
@@ -76,7 +76,7 @@ def prog(ts3conn):
|
||||
|
||||
with ts3.query.TS3Connection("localhost") as ts3conn:
|
||||
ts3conn.login(
|
||||
client_login_name="***REMOVED***",
|
||||
client_login_name="",
|
||||
client_login_password=""
|
||||
)
|
||||
ts3conn.use(sid=1)
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ def prog(ts3conn):
|
||||
#ts3conn.close()
|
||||
return 2
|
||||
try:
|
||||
if event[0]["invokeruid"] == "***REMOVED***" or event[0]["invokeruid"] == "***REMOVED***" or event[0]["invokeruid"] == "***REMOVED***":
|
||||
if event[0]["invokeruid"] == "" or event[0]["invokeruid"] == "" or event[0]["invokeruid"] == "":
|
||||
msg = event[0]['msg']
|
||||
msg = msg.lstrip(' ').rstrip(' ')
|
||||
msg = msg.lower()
|
||||
@@ -95,7 +95,7 @@ def prog(ts3conn):
|
||||
|
||||
with ts3.query.TS3Connection("localhost") as ts3conn:
|
||||
ts3conn.login(
|
||||
client_login_name="***REMOVED***",
|
||||
client_login_name="",
|
||||
client_login_password=""
|
||||
)
|
||||
ts3conn.use(sid=1)
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@ import MySQLdb
|
||||
import asyncio
|
||||
import r6sapi as api
|
||||
|
||||
db = MySQLdb.connect(host="localhost",user="***REMOVED***",passwd="", db="forum")
|
||||
db = MySQLdb.connect(host="localhost",user="",passwd="", db="forum")
|
||||
cur = db.cursor()
|
||||
apikeylol = ""
|
||||
apikeytft = ""
|
||||
@@ -278,7 +278,7 @@ def rankchiffre(a):
|
||||
|
||||
with ts3.query.TS3Connection("localhost") as ts3conn:
|
||||
ts3conn.login(
|
||||
client_login_name="***REMOVED***",
|
||||
client_login_name="",
|
||||
client_login_password=""
|
||||
)
|
||||
ts3conn.use(sid=1)
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ def prog(ts3conn):
|
||||
|
||||
with ts3.query.TS3Connection("localhost") as ts3conn:
|
||||
ts3conn.login(
|
||||
client_login_name="***REMOVED***",
|
||||
client_login_name="",
|
||||
client_login_password=""
|
||||
)
|
||||
ts3conn.use(sid=1)
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ def prog(ts3conn, a):
|
||||
|
||||
with ts3.query.TS3Connection("localhost") as ts3conn:
|
||||
ts3conn.login(
|
||||
client_login_name="***REMOVED***",
|
||||
client_login_name="",
|
||||
client_login_password=""
|
||||
)
|
||||
ts3conn.use(sid=1)
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@ import requests
|
||||
import json
|
||||
import MySQLdb
|
||||
|
||||
db = MySQLdb.connect(host="localhost",user="***REMOVED***",passwd="", db="forum")
|
||||
db = MySQLdb.connect(host="localhost",user="",passwd="", db="forum")
|
||||
cur = db.cursor()
|
||||
|
||||
def prog(ts3conn, cur):
|
||||
@@ -42,7 +42,7 @@ def steam(ts3conn, cur):
|
||||
if steam is not None:
|
||||
steamname = steam[30:]
|
||||
try:
|
||||
response = requests.get("http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=***REMOVED***&vanityurl="+steamname)
|
||||
response = requests.get("http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=&vanityurl="+steamname)
|
||||
except:
|
||||
jeu = 0
|
||||
info = json.loads(response.text)
|
||||
@@ -50,7 +50,7 @@ def steam(ts3conn, cur):
|
||||
if info['response']['success'] == 1:
|
||||
steamid = info['response']['steamid']
|
||||
try:
|
||||
response = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=***REMOVED***&steamids="+steamid)
|
||||
response = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=&steamids="+steamid)
|
||||
except:
|
||||
jeu = 0
|
||||
info = json.loads(response.text)
|
||||
@@ -61,7 +61,7 @@ def steam(ts3conn, cur):
|
||||
elif info['response']['success'] == 42:
|
||||
if len(steamname) == 17:
|
||||
try:
|
||||
response = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=***REMOVED***&steamids="+steamname)
|
||||
response = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=&steamids="+steamname)
|
||||
except:
|
||||
jeu = 0
|
||||
info = json.loads(response.text)
|
||||
@@ -141,7 +141,7 @@ def addjeu(ts3conn, tsuid, jeu):
|
||||
|
||||
with ts3.query.TS3Connection("localhost") as ts3conn:
|
||||
ts3conn.login(
|
||||
client_login_name="***REMOVED***",
|
||||
client_login_name="",
|
||||
client_login_password=""
|
||||
)
|
||||
ts3conn.use(sid=1)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{"D/cMykw+H6MRfE4QnoZG2u7KHyA=": {"vie": 2, "clname": "TeamSpeakUser", "time": "28/08/2019 19:55:45"}, "gcOXVkt3ygJdWVy6BpHI+dcRuSg=": {"vie": 2, "clname": "Nuja", "time": "09/06/2019 20:06:06"}, "p2B1GS96l1LyxhfMXUlDa7KgasI=": {"vie": 2, "clname": "Pascal", "time": "05/03/2019 20:56:33"}, "R/uc+xK5aS8lGmFEEJs409g8zDY=": {"vie": 2, "clname": "M03", "time": "31/03/2019 17:33:54"}, "Q9vR27RB8ALpHi36Zg40k0W8cfs=": {"vie": 2, "clname": "Victime", "time": "18/02/2019 00:48:26"}, "fKa/lzYNxsuNrXOhzwStx/DmWoo=": {"vie": 2, "clname": "Victime N\u00b02", "time": "18/02/2019 01:12:32"}, "1OyDshjgUIj+DeHSGLZsyD57hxE=": {"vie": 2, "clname": "1\"3", "time": "11/06/2019 22:42:39"}, "ai/nMZMDHRCGU3AXlIz2fCvuGSg=": {"vie": 2, "clname": "Torroan", "time": "27/03/2019 23:46:35"}, "umcwS1u/Vq2CUTEj9nhHdY4dwnk=": {"vie": 2, "clname": "labrique", "time": "27/03/2019 14:37:20"}, "ServerQuery": {"vie": 0, "clname": "Unknown", "time": "26/09/2019 22:04:35"}, "es7iZD8u58W4PCxy0/2HRS/r17o=": {"clname": "killianbill", "vie": 2, "time": "22/09/2019 00:51:10"}}
|
||||
Reference in new issue
Block a user