From 7a0b2660c59d54b4eaed62a034c4827255a1661e Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 13 May 2022 19:50:39 +0100 Subject: [PATCH] Name changes & removed links.json --- .gitignore | 1 + links.json | 3 --- twitfix.py | 14 +++----------- 3 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 links.json diff --git a/.gitignore b/.gitignore index ab1a585..e4f15fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ config.json __pycache__ venv/ +links.json \ No newline at end of file diff --git a/links.json b/links.json deleted file mode 100644 index c5e02bf..0000000 --- a/links.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "test": "test" -} \ No newline at end of file diff --git a/twitfix.py b/twitfix.py index b74cd3e..e560339 100644 --- a/twitfix.py +++ b/twitfix.py @@ -41,9 +41,9 @@ if not os.path.exists("config.json"): "table":"TwiFix", "method":"youtube-dl", "color":"#43B581", - "appname": "TwitFix", - "repo": "https://github.com/robinuniverse/twitfix", - "url": "https://fxtwitter.com" + "appname": "vxTwitter", + "repo": "https://github.com/dylanpdx/BetterTwitFix", + "url": "https://vxtwitter.com" }, "api":{"api_key":"[api_key goes here]", "api_secret":"[api_secret goes here]", @@ -82,14 +82,6 @@ elif link_cache_system == "db": table = config['config']['table'] db = client[table] -@app.route('/bidoof/') -def bidoof(): - return redirect("https://cdn.discordapp.com/attachments/291764448757284885/937343686927319111/IMG_20211226_202956_163.webp", 301) - -@app.route('/discord/') -def discord(): - return redirect("https://discord.gg/ztz2hHwZXv", 301) - @app.route('/stats/') def statsPage(): today = str(date.today())