The current /download command contains two options with the name Geyser. The values of this options are geyser and floodgate. DownloadCommand.defaultDownloadOption sets the command name to always be Geyser and to always use the Geyser download URL as the destination, causing a duplicate entry in the list even though the command that Discord receives has a different value.
This PR makes the following changes:
Changes the geyser and floodgate commands to be DownloadOption where the command name is Geyser or Floodgate and the target URL is defaultDownloadOption.downloadUrl
The current
/download
command contains two options with the nameGeyser
. The values of this options aregeyser
andfloodgate
.DownloadCommand.defaultDownloadOption
sets the command name to always beGeyser
and to always use the Geyser download URL as the destination, causing a duplicate entry in the list even though the command that Discord receives has a different value.This PR makes the following changes:
geyser
andfloodgate
commands to beDownloadOption
where the command name isGeyser
orFloodgate
and the target URL isdefaultDownloadOption.downloadUrl