Vedza / NitroSniperGo

Discord Nitro sniper and Giveaway joiner in Go (Faster than Python and Javascript) (UPDATED Free 24/7 w/ Heroku)
GNU General Public License v2.0
415 stars 756 forks source link

Check if giveaway host is a user or bot. #182

Closed Nuzair46 closed 3 years ago

Nuzair46 commented 3 years ago

I reviewed your python code and saw that the snipper checks for the string “ giveaway, react with, giveaway”. And reacts to it to enter the giveaway. One major issue with this is that any user can send the above string to the chat and identify the sniper account. It would be best to add a check and make sure that the person who sends the giveaway is a bot rather than a user. I don’t know much about GO or I’d have made a pull request.

Vedza commented 3 years ago

Hi, It's already what the sniper does.

Nuzair46 commented 3 years ago

@Vedza ok then the snipper user I tested this with may have Older version of the snipper or is using the the python code.

Vedza commented 3 years ago

I added that here 8dfbf75e43f62412d6494dc6e72e76733d9f8906 and it was released on 2.7

Nuzair46 commented 3 years ago

Nice. My bad I only looked into the python code.