Merge branch 'main' of github.com:dylanpdx/BetterTwitFix

This commit is contained in:
Dylan 2023-04-08 15:59:19 +01:00
commit a9e445406a
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ vxTwitter generates a config.json in its root directory the first time you run i
**link_cache** - (Options: **db**, **json**) **link_cache** - (Options: **db**, **json**)
- **db**: Caches all links to a mongoDB database. This should be used it you are using uWSGI and are not just running the script on its own as one worker - **db**: Caches all links to a mongoDB database. This should be used if you are using uWSGI and are not just running the script on its own as one worker
- **json**: This saves cached links to a local **links.json** file - **json**: This saves cached links to a local **links.json** file
- **dynamodb**: Saves cached links to a DynamoDB database - set `table` to the table name to cache links to. - **dynamodb**: Saves cached links to a DynamoDB database - set `table` to the table name to cache links to.
- **none**: Does not cache requests. Not reccomended as you can easily use up your Twitter API credits with this. Intended for use with another cache system (i.e NGINX uwsgi_cache) - **none**: Does not cache requests. Not reccomended as you can easily use up your Twitter API credits with this. Intended for use with another cache system (i.e NGINX uwsgi_cache)
@ -58,4 +58,4 @@ vxTwitter generates a config.json in its root directory the first time you run i
We check for t.co links in non video tweets, and if one is found, we direct the discord useragent to embed that link directly, this means that twitter links containing youtube / vimeo links will automatically embed those as if you had just directly linked to that content We check for t.co links in non video tweets, and if one is found, we direct the discord useragent to embed that link directly, this means that twitter links containing youtube / vimeo links will automatically embed those as if you had just directly linked to that content
This project is licensed under the **Do What The Fuck You Want Public License** This project is licensed under the **Do What The Fuck You Want Public License**

View File

@ -1,5 +1,5 @@
pymongo==4.3.3 pymongo==4.3.3
boto3==1.26.79 boto3==1.26.104
requests==2.28.2 requests==2.28.2
Pillow==9.4.0 Pillow==9.4.0
Flask==2.2.3 Flask==2.2.3