Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

discord system to report command#6

Open
Taahh wants to merge 2 commits intoBariaHQ:masterfrom
Taahh:patch-3
Open

discord system to report command#6
Taahh wants to merge 2 commits intoBariaHQ:masterfrom
Taahh:patch-3

Conversation

@Taahh
Copy link
Copy Markdown

@Taahh Taahh commented Jul 24, 2018

No description provided.

Copy link
Copy Markdown

@ncurran02 ncurran02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the formatting please.

String report = StringUtils.join(ArrayUtils.subarray(args, 1, args.length), " ");
plugin.cm.reportAction(playerSender, player, report);
//
TextChannel channel = Discord.bot.getTextChannelById(ConfigEntry.DISCORD_REPORTS_CHANNELID.getString());
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a check to see if discord is enabled and running.

@ncurran02
Copy link
Copy Markdown

Branch updated.

@ncurran02
Copy link
Copy Markdown

Please review the relating PRs I have closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants