feat: add warning, and better screenshot

This commit is contained in:
neoarz
2025-12-16 19:32:34 -05:00
parent 4e6ee2c1f9
commit cd96edc170
5 changed files with 8 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ A simple Vencord/Equicord plugin to auto snipe nitro gift codes
| ![Demo of plugin](assets/snipes.png) |
| :--------------------------------------------------------------------------------------------------: |
| Screenshot of plugin sniping **three** gifts back to back to back. Credits to [n0_.q3](https://discord.com/users/957164619061932045) |
| This isn't even the full screenshot. See [here](https://github.com/neoarz/NitroSniper/blob/main/assets/full.png) |
> [!CAUTION]
> **Use at your own risk**

BIN
assets/full.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

After

Width:  |  Height:  |  Size: 8.1 MiB

BIN
assets/webhhook/crepper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View File

@@ -6,6 +6,7 @@ dm @neoarz if u need help or have any questions
https://github.com/neoarz/NitroSniper
*/
import { Alert } from "@components/Alert";
import { Devs } from "@utils/constants";
import { Logger } from "@utils/Logger";
import definePlugin from "@utils/types";
@@ -17,6 +18,11 @@ export default definePlugin({
name: "NitroSniper",
description: "Automatically redeems Nitro gift links sent in chat",
authors: [Devs.neoarz],
settingsAboutComponent: () => (
<Alert.Error>
This plugin breaks Discord's TOS. Use at your own risk.
</Alert.Error>
),
enabledByDefault: false, // Safer to have off by default?
start() {
@@ -47,6 +53,7 @@ export default definePlugin({
return;
}
// TODO: Add webhook support
GiftActions.redeemGiftCode({ code })
.then(() => {
logger.log(`Successfully redeemed code: ${code}!`);