Skip to content

Commit bf4f7fb

Browse files
added command privileges for /say
1 parent 3cbce7f commit bf4f7fb

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/main/resources/commands.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
- {description: The id the bot will convert into a human-readable timestamp, name: id,
2424
required: true, type: STRING}
2525
handler: com.javadiscord.javabot.commands.user_commands.IDCalc
26-
- description: Let the bot say everything you want
27-
name: say
28-
options:
29-
- {description: The text the bot should say, name: text,
30-
required: true, type: STRING}
31-
handler: com.javadiscord.javabot.commands.moderation.Say
3226
- description: Turns your text-input into a lmgtfy-link
3327
name: lmgtfy
3428
options:
@@ -131,6 +125,16 @@
131125
options:
132126
- { description: Link of the original Message, name: link, required: true, type: STRING }
133127
- { description: Title of the embed, name: title, required: false, type: STRING }
128+
- description: Let the bot say everything you want
129+
name: say
130+
options:
131+
- {description: The text the bot should say, name: text,
132+
required: true, type: STRING}
133+
handler: com.javadiscord.javabot.commands.moderation.Say
134+
enabledByDefault: false
135+
privileges:
136+
- type: ROLE
137+
id: moderation.staffRoleId
134138
- description: Kicks a member
135139
name: kick
136140
handler: com.javadiscord.javabot.commands.moderation.Kick

0 commit comments

Comments
 (0)