Skip to content

Commit

Permalink
meta corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 15, 2021
1 parent 3a1de47 commit 98c1247
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 8 deletions.
Expand Up @@ -77,7 +77,7 @@ public void onEnable() {
// @plugin dDiscordBot
// @description
// Returns a Discord Channel object constructed from the input value.
// Refer to <@link language DiscordChannelTag objects>.
// Refer to <@link objecttype DiscordChannelTag>.
// -->
TagManager.registerTagHandler("discord_channel", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand All @@ -93,7 +93,7 @@ public void onEnable() {
// @description
// Returns a blank DiscordEmbedTag instance, to be filled with data via the with.as tag.
// Or, if given an input, returns a Discord Embed object constructed from the input value.
// Refer to <@link language DiscordEmbedTag objects>.
// Refer to <@link objecttype DiscordEmbedTag>.
// -->
TagManager.registerTagHandler("discord_embed", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand All @@ -107,7 +107,7 @@ public void onEnable() {
// @plugin dDiscordBot
// @description
// Returns a Discord Group object constructed from the input value.
// Refer to <@link language DiscordGroupTag objects>.
// Refer to <@link objecttype DiscordGroupTag>.
// -->
TagManager.registerTagHandler("discord_group", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand All @@ -122,7 +122,7 @@ public void onEnable() {
// @plugin dDiscordBot
// @description
// Returns a Discord Message object constructed from the input value.
// Refer to <@link language DiscordMessageTag objects>.
// Refer to <@link objecttype DiscordMessageTag>.
// -->
TagManager.registerTagHandler("discord_message", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand All @@ -137,7 +137,7 @@ public void onEnable() {
// @plugin dDiscordBot
// @description
// Returns a Discord Reaction object constructed from the input value.
// Refer to <@link language DiscordReactionTag objects>.
// Refer to <@link objecttype DiscordReactionTag>.
// -->
TagManager.registerTagHandler("discord_reaction", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand All @@ -152,7 +152,7 @@ public void onEnable() {
// @plugin dDiscordBot
// @description
// Returns a Discord Role object constructed from the input value.
// Refer to <@link language DiscordRoleTag objects>.
// Refer to <@link objecttype DiscordRoleTag>.
// -->
TagManager.registerTagHandler("discord_role", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand All @@ -167,7 +167,7 @@ public void onEnable() {
// @plugin dDiscordBot
// @description
// Returns a Discord User object constructed from the input value.
// Refer to <@link language DiscordUserTag objects>.
// Refer to <@link objecttype DiscordUserTag>.
// -->
TagManager.registerTagHandler("discord_user", (attribute) -> {
if (!attribute.hasContext(1)) {
Expand Down
Expand Up @@ -38,7 +38,7 @@ public DiscordReactCommand() {
// @Description
// Manages message reactions on Discord.
//
// The message can be a <@link language DiscordMessageTag>, or just the message ID, with a channel ID also given.
// The message can be a <@link objecttype DiscordMessageTag>, or just the message ID, with a channel ID also given.
//
// You can add or remove reactions from the bot, or clear all reactions of a specific ID, or clear all reactions from a message entirely.
//
Expand Down
Expand Up @@ -20,6 +20,7 @@ public class DiscordBotTag implements ObjectTag, FlaggableObject {
// @name DiscordBotTag
// @prefix discord
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord bots is the bot ID (as chosen in <@link command discord>).
// For example: mybot
Expand Down
Expand Up @@ -22,6 +22,7 @@ public class DiscordChannelTag implements ObjectTag, FlaggableObject {
// @name DiscordChannelTag
// @prefix discordchannel
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord channels is the bot ID (optional), followed by the channel ID (required).
// For example: 1234
Expand Down
Expand Up @@ -22,6 +22,7 @@ public class DiscordGroupTag implements ObjectTag, FlaggableObject {
// @name DiscordGroupTag
// @prefix discordgroup
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord groups is the bot ID (optional), followed by the guild ID (required).
// For example: 1234
Expand Down
Expand Up @@ -26,6 +26,7 @@ public class DiscordMessageTag implements ObjectTag, FlaggableObject {
// @name DiscordMessageTag
// @prefix discordmessage
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord messages is the bot ID (optional), followed by the channel ID (optional), followed by the message ID (required).
// For example: 1234
Expand Down
Expand Up @@ -26,6 +26,7 @@ public class DiscordReactionTag implements ObjectTag, FlaggableObject {
// @name DiscordReactionTag
// @prefix discordreaction
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord reactions is the bot ID, followed by the channel ID, followed by the message ID, followed by the reaction ID.
// Or: mybot,12,1234,99
Expand Down
Expand Up @@ -23,6 +23,7 @@ public class DiscordRoleTag implements ObjectTag, FlaggableObject {
// @name DiscordRoleTag
// @prefix discordrole
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord roles is the bot ID (optional), followed by the guild ID (optional), followed by the role ID (required).
// For example: 4321
Expand Down
Expand Up @@ -26,6 +26,7 @@ public class DiscordUserTag implements ObjectTag, FlaggableObject {
// @name DiscordUserTag
// @prefix discorduser
// @base ElementTag
// @implements FlaggableObject
// @format
// The identity format for Discord users is the bot ID (optional), followed by the user ID (required).
// For example: 1234
Expand Down

0 comments on commit 98c1247

Please sign in to comment.