You can delete your Discord account by going to the "My Account" page in your settings on your Mac or PC.
If you delete files from Dropbox and later change your mind, you have up to 30 days to restore and recover them.