i have a issue where my old slash commands are staying there forever, so i want to make a function that refreshes a guild, adds slash commands that dont exist, updates ones that exist, and deletes ones that dont exist in the code anymore, then ill also make a global function to refresh all guilds (which takes 1 hour, so thats why i also want a one-guild refresh one to allow for bot testing)
how do i go about making this, i already have a basic deploy commands