marioparaschiv / nitro-sniper

🔫 A lightweight, fast and efficient discord nitro sniper, giveaway sniper & invite sniper.
821 stars 3.23k forks source link

[Feature Request] Option to customize webhook messages #263

Closed Matka150 closed 2 years ago

Matka150 commented 3 years ago

Is your feature request related to a problem?

My feature isn't related to a problem.

Describe the solution you'd like

Like on codeSuccess: Sniped ${nitro-type}, Enjoy your Nitro (${time_taken}ms)! And for all cases. Add sort of option for variables like {something} or %something% .

How will this be beneficial to the sniper

Make the webhook more friendly and customized. The user can mention specifc role/user.

Please provide an example of usage of this feature

Maybe on settings:

//custom message on=true off=false. (vars: ${nitro_type}, ${time_taken}, ${author}, ${account}), for mention use <@role/user's id> codeSuccessCustomMessage: true codeSuccessCustomMessageContent: "Just got ${nitro_type} for ${account} thanks to ${author} in ${time_taken}ms. Feeling good! <@544674686867> <@45649846464>"


Mention can be with ID or username and role name. It's up to you

mte0 commented 3 years ago

you can technically do this, clone the repo, change stuff thats hardlinked to this repo (updater etc), and edit the message in the webhook sending file

marioparaschiv commented 2 years ago

fix above