Update GitHub
This commit is contained in:
parent
ca1dd18dfa
commit
406e92ff1c
2 changed files with 2 additions and 2 deletions
2
pom.xml
2
pom.xml
|
|
@ -10,7 +10,7 @@
|
||||||
<name>Hadder</name>
|
<name>Hadder</name>
|
||||||
<inceptionYear>2019</inceptionYear>
|
<inceptionYear>2019</inceptionYear>
|
||||||
<description>Hadder is a multi-purpose Discord bot.</description>
|
<description>Hadder is a multi-purpose Discord bot.</description>
|
||||||
<url>https://github.com/BigBotNetwork/Hadder</url>
|
<url>https://github.com/BBN-Holding/Hadder</url>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ public class FeedbackCommand implements Command {
|
||||||
String description = e2.getMessage().getContentDisplay();
|
String description = e2.getMessage().getContentDisplay();
|
||||||
try {
|
try {
|
||||||
GitHub connection = GitHub.connectUsingOAuth(e.getConfig().getGitHubToken());
|
GitHub connection = GitHub.connectUsingOAuth(e.getConfig().getGitHubToken());
|
||||||
GHRepository Hadder = connection.getOrganization("BigBotNetwork").getRepository("Hadder");
|
GHRepository Hadder = connection.getOrganization("BBN-Holding").getRepository("Hadder");
|
||||||
GHIssue issue = Hadder.createIssue(title).body("<strong>Feedback by " + e.getAuthor().getAsTag() + "</strong><br>" + description).label("feedback").create();
|
GHIssue issue = Hadder.createIssue(title).body("<strong>Feedback by " + e.getAuthor().getAsTag() + "</strong><br>" + description).label("feedback").create();
|
||||||
issue.addLabels("feedback");
|
issue.addLabels("feedback");
|
||||||
e.getTextChannel().sendMessage(
|
e.getTextChannel().sendMessage(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue