Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import { localizationMapByKey } from "@necord/localization"; import { StringOption } from "necord"; export class PlayDTO { @StringOption({ name: "query", description: "<URL or Name> of the Music or Playlist", name_localizations: localizationMapByKey("Music.play.options.query.name"), description_localizations: localizationMapByKey("Music.play.options.query.description"), required: true, autocomplete: false, }) public readonly query: string; @StringOption({ name: "source", description: "Source where the bot will be search for the music - Default: Youtube", name_localizations: localizationMapByKey("Music.play.options.source.name"), description_localizations: localizationMapByKey("Music.play.options.source.description"), required: false, autocomplete: true, }) public readonly source: string; } |