|
1 | | -const { ModalBuilder, TextInputBuilder, TextInputStyle, ActionRowBuilder } = require('@discordjs/builders'); |
| 1 | +const { ModalBuilder, TextInputBuilder, ActionRowBuilder } = require('@discordjs/builders'); |
2 | 2 |
|
3 | 3 | module.exports = { |
4 | 4 | button: { |
@@ -38,28 +38,28 @@ module.exports = { |
38 | 38 | .setCustomId('3d_view') |
39 | 39 | .setLabel('3D-View benutzt') |
40 | 40 | .setPlaceholder('Ja/Nein') |
41 | | - .setStyle(TextInputStyle.Short); |
| 41 | + .setStyle(1); |
42 | 42 |
|
43 | 43 | //boolean input "Street-View benutzt" |
44 | 44 | const input2 = new TextInputBuilder() |
45 | 45 | .setCustomId('street_view') |
46 | 46 | .setLabel('Street-View benutzt') |
47 | 47 | .setPlaceholder('Ja/Nein') |
48 | | - .setStyle(TextInputStyle.Short); |
| 48 | + .setStyle(1); |
49 | 49 |
|
50 | 50 | //text input "Link zu Street-View" |
51 | 51 | const input3 = new TextInputBuilder() |
52 | 52 | .setCustomId('street_view_link') |
53 | 53 | .setLabel('Link zu Street-View') |
54 | 54 | .setPlaceholder('Link') |
55 | | - .setStyle(TextInputStyle.Short); |
| 55 | + .setStyle(1); |
56 | 56 |
|
57 | 57 | //text input "Sonstige Informationen" |
58 | 58 | const input4 = new TextInputBuilder() |
59 | 59 | .setCustomId('other_info') |
60 | 60 | .setLabel('Sonstige Informationen') |
61 | 61 | .setPlaceholder('Informationen') |
62 | | - .setStyle(TextInputStyle.Paragraph); |
| 62 | + .setStyle(2); |
63 | 63 |
|
64 | 64 |
|
65 | 65 | // Add inputs to the modal |
|
0 commit comments