I don't know if this is still a problem or if the Discord is still active, but for the record, at least in the web UI, there's a "Edit invite link" thingy under the box with the invite link - you can go in there and set an "Expire after" and a "Max Number of Uses".