nuno bu gisti düzenledi 2 weeks ago. Düzenlemeye git
1 file changed, 10 insertions
gistfile1.txt(dosya oluşturuldu)
| @@ -0,0 +1,10 @@ | |||
| 1 | + | cmd.addSubcommand((s) => s | |
| 2 | + | .setName("score-inject") | |
| 3 | + | .setDescription("Inject a score for any player (officer only)") | |
| 4 | + | .addStringOption((o) => o.setName("char_name").setDescription("Character").setRequired(true).setAutocomplete(true)) | |
| 5 | + | .addIntegerOption((o) => o.setName("pts").setDescription("Points").setRequired(true)) | |
| 6 | + | .addIntegerOption((o) => o.setName("slot").setDescription("TG slot hour").setRequired(true)) | |
| 7 | + | .addStringOption((o) => o.setName("date").setDescription("Date YYYY-MM-DD (defaults today)")) | |
| 8 | + | .addIntegerOption((o) => o.setName("k").setDescription("Kills")) | |
| 9 | + | .addIntegerOption((o) => o.setName("d").setDescription("Deaths")) | |
| 10 | + | ) | |
Daha yeni
Daha eski