Skip to content

Commit

Permalink
meta fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 15, 2019
1 parent ecf6f53 commit 9b152c9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public static void registerTags() {
// <--[tag]
// @attribute <discordchannel@channel.name>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the name of the channel.
// -->
Expand All @@ -104,6 +105,7 @@ else if (chan instanceof PrivateChannel) {
// <--[tag]
// @attribute <discordchannel@channel.type>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the type of the channel.
// Will be any of: GUILD_TEXT, DM, GUILD_VOICE, GROUP_DM, GUILD_CATEGORY
Expand All @@ -119,6 +121,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordchannel@channel.id>
// @returns Element(Number)
// @plugin dDiscordBot
// @description
// Returns the ID number of the channel.
// -->
Expand All @@ -133,6 +136,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordchannel@channel.mention>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the raw mention string for the channel.
// -->
Expand All @@ -147,6 +151,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordchannel@channel.group>
// @returns DiscordGroup
// @plugin dDiscordBot
// @description
// Returns the group that owns this channel.
// -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public static void registerTags() {
// <--[tag]
// @attribute <discord@bot.name>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the name of the bot.
// -->
Expand All @@ -69,6 +70,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discord@bot.groups>
// @returns dList(DiscordGroup)
// @plugin dDiscordBot
// @description
// Returns a list of all groups (aka 'guilds' or 'servers') that this Discord bot has access to.
// -->
Expand All @@ -90,6 +92,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discord@bot.group[<name>]>
// @returns DiscordGroup
// @plugin dDiscordBot
// @description
// Returns the Discord group (aka 'guild' or 'server') that best matches the input name, or null if there's no match.
// -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public static void registerTags() {
// <--[tag]
// @attribute <discordgroup@group.name>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the name of the group.
// -->
Expand All @@ -96,6 +97,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordgroup@group.id>
// @returns Element(Number)
// @plugin dDiscordBot
// @description
// Returns the ID number of the group.
// -->
Expand All @@ -110,6 +112,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordgroup@group.channels>
// @returns dList(DiscordChannel)
// @plugin dDiscordBot
// @description
// Returns a list of all channels in the group.
// -->
Expand All @@ -127,6 +130,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordgroup@group.roles>
// @returns dList(DiscordRole)
// @plugin dDiscordBot
// @description
// Returns a list of all roles in the group.
// -->
Expand All @@ -144,6 +148,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordgroup@group.channel[<name>]>
// @returns DiscordChannel
// @plugin dDiscordBot
// @description
// Returns the channel that best matches the input name, or null if there's no match.
// -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public static void registerTags() {
// <--[tag]
// @attribute <discordrole@role.name>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the name of the role.
// -->
Expand All @@ -122,6 +123,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordrole@role.id>
// @returns Element(Number)
// @plugin dDiscordBot
// @description
// Returns the ID number of the role.
// -->
Expand All @@ -136,6 +138,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordrole@role.mention>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the raw mention string the role.
// -->
Expand All @@ -150,6 +153,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discordrole@role.group>
// @returns DiscordGroup
// @plugin dDiscordBot
// @description
// Returns the group that owns this role.
// -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public static void registerTags() {
// <--[tag]
// @attribute <discorduser@user.name>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the user name of the user.
// -->
Expand All @@ -94,6 +95,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discorduser@user.id>
// @returns Element(Number)
// @plugin dDiscordBot
// @description
// Returns the ID number of the user.
// -->
Expand All @@ -108,6 +110,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discorduser@user.mention>
// @returns Element
// @plugin dDiscordBot
// @description
// Returns the raw mention string for the user.
// -->
Expand All @@ -122,6 +125,7 @@ public String run(Attribute attribute, dObject object) {
// <--[tag]
// @attribute <discorduser@user.roles[<group>]>
// @returns dList(DiscordRole)
// @plugin dDiscordBot
// @description
// Returns a list of all roles the user has in the given group.
// -->
Expand Down

0 comments on commit 9b152c9

Please sign in to comment.