Real-Dev-Squad/discord-slash-commands

Send "Account Already Linked" Response for Verified Users

Opened this issue · 2 comments

Context:
The issue is related to Discord bot which will be present in our Discord server . Some of the users in server will be Verified and some may not be verified .One who is verified, user has run the discord command ( /verify) in past. So If The Already Verified user at our discord server run the same command(/verify) to verify there should be a reply should sent to user through bot that , "Username" You are already linked your account as a verified User.

Expected Behavior :
Return the message saying - "Username" You are already linked your account as a verified User.

Possible Solution :

  • When a user run /verify , We will fetch all the user in our discord server from the API and find the one who is verified .
  • While fouded user will be equal to the current user who ran the command /verify . He/She will be replied by a message that . You are already linked your account as a verified User.
  • If founded user will not be equal to the current user who ran the command /verify . He/She will be given a link to verify themselves

The command that you will be running at the server :
image

@divyansh2375 why to fetch all user details..?

@iamitprakash fetch means like to findallusers .