File tree 1 file changed +4
-0
lines changed
command/src/main/java/com/jagrosh/jdautilities/command
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ public abstract class SlashCommand extends Command
128
128
* The ID of the server you want guildOnly tied to.
129
129
* This means the slash command will only work and show up in the specified Guild.
130
130
* If this is null, guildOnly will still be processed, however an ephemeral message will be sent telling them to move.
131
+ * @deprecated This will be removed in favor of {@link CommandClientBuilder#forceGuildOnly(String)}. Please use that instead.
132
+ * @see CommandClientBuilder#forceGuildOnly(String)
131
133
*/
132
134
protected String guildId = null ;
133
135
@@ -376,6 +378,8 @@ public CommandClient getClient()
376
378
/**
377
379
* Gets the associated Guild ID for Guild Only command.
378
380
*
381
+ * @deprecated This will be removed in favor of {@link CommandClientBuilder#forceGuildOnly(String)}. Please use that instead.
382
+ * @see CommandClientBuilder#forceGuildOnly(String)
379
383
* @return the ID for the specific Guild
380
384
*/
381
385
public String getGuildId ()
You can’t perform that action at this time.
0 commit comments