Update GitHub

This commit is contained in:
Greg 2021-04-05 13:28:36 +02:00
parent ca1dd18dfa
commit 406e92ff1c
No known key found for this signature in database
GPG key ID: E0CCA757E2B9BA17
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@
<name>Hadder</name>
<inceptionYear>2019</inceptionYear>
<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>
<license>

View file

@ -47,7 +47,7 @@ public class FeedbackCommand implements Command {
String description = e2.getMessage().getContentDisplay();
try {
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();
issue.addLabels("feedback");
e.getTextChannel().sendMessage(