-
Serpensin authored
The most significant changes involve the refactoring and enhancement of the `downloader` function in `main.py` to handle downloading of both emojis and stickers from a Discord server. The function now creates separate directories for emojis and stickers, provides progress updates, and converts APNG stickers to GIF format. The `getID` function within the `MainWindow` class has also been updated to handle both emojis and stickers, and to handle the case where no emojis or stickers are found. The `thread` function now disables the Download and ServerID input fields during the download process. The global `userid` variable has been renamed to `usertoken`, and the code for obtaining the user token has been updated. A new `folderselect` function has been added for download directory selection. Several new dependencies have been added in `requirements.txt`, and the `README.md` file has been updated to reflect the new features. Changes: 1. Refactoring and enhancement of the `downloader` function in `main.py` to handle downloading of both emojis and stickers from a Discord server, creation of separate directories for emojis and stickers, progress updates, and conversion of APNG stickers to GIF format. 2. Update of the `getID` function within the `MainWindow` class to handle both emojis and stickers, and to handle the case where no emojis or stickers are found. 3. Update of the `thread` function within the `MainWindow` class to disable the Download and ServerID input fields during the download process. 4. Renaming of the global `userid` variable to `usertoken`, and update of the code for obtaining the user token. 5. Addition of a new `folderselect` function for download directory selection. 6. Addition of several new dependencies in `requirements.txt`, and update of some existing dependencies to newer versions. 7. Update of the `README.md` file to reflect the new features.
4ecd903d