Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
* <p>
* Some example commands are available in {@link org.togetherjava.tjbot.commands.basic}. A minimal
* setup would consist of a class like
*
*
* <pre>
* {
* &#64;code
* class PingCommand extends SlashCommandAdapter {
* PingCommand() {
* super("ping", "responds with !pong", SlashCommandVisibility.GUILD);
* public class PingCommand extends SlashCommandAdapter {
* public PingCommand() {
* super("ping", "Responds with 'Pong!'", SlashCommandVisibility.GUILD);
* }
*
* &#64;Override
Expand All @@ -50,7 +50,7 @@
* }
* }
* </pre>
*
*
* and registration of an instance of that class in {@link Commands}.
*/
public abstract class SlashCommandAdapter implements SlashCommand {
Expand Down