Skip to content

Commit da06e03

Browse files
committed
Deprecate TOP_GG
1 parent bc96fbc commit da06e03

35 files changed

+157
-132
lines changed

.github/workflows/release_actions.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ jobs:
1818
- name: Publish (Bintray)
1919
id: publish_bintray
2020
env:
21-
bintrayUser: ${{ secrets.bintrayUsername }}
22-
bintrayApiKey: ${{ secrets.bintrayApiKey }}
21+
BintrayUser: ${{ secrets.bintrayUsername }}
22+
BintrayApiKey: ${{ secrets.bintrayApiKey }}
23+
VcsTag: ${{ github.event.release.tag_name }}
2324
run: ./gradlew bintrayUpload
2425
#- name: Publish (GitHub Packages)
2526
# env:
2627
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2728
# run: ./gradlew publish
2829
- name: Zip files
2930
working-directory: ./build/libs
30-
run: zip release-${{ github.event.release.tag_name }}.zip *.jar
31+
run: zip JavaBotBlockAPI-${{ github.event.release.tag_name }}.zip *.jar
3132
- name: Upload to release
3233
uses: AButler/upload-release-assets@v2.0
3334
with:
@@ -44,7 +45,7 @@ jobs:
4445
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
4546
severity: info
4647
avatarUrl: 'https://raw.githubusercontent.com/botblock/JavaBotBlockAPI/master/src/main/resources/Jbba.png'
47-
username: 'New release (${{ github.event.release.tag_name }})'
48+
username: 'New release'
4849
text: '${{ github.event.release.name }}'
4950
description: '[**Release Information**](${{ github.event.release.html_url }})'
5051
details: '${{ github.event.release.body }}'

build.gradle

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ plugins{
77
id 'com.github.johnrengelman.shadow' version '5.2.0'
88
}
99

10-
def ver = new Version(major: 5, minor: 1, revision: 5)
10+
def ver = new Version(major: 5, minor: 1, revision: 6)
1111

1212
group = "org.botblock"
1313
version = "$ver"
1414

1515
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
1616

17-
jar{
18-
setArchivesBaseName('JavaBotBlockAPI')
19-
}
20-
2117
repositories{
2218
mavenCentral()
2319
jcenter()
2420
}
2521

22+
jar{
23+
setArchivesBaseName('JavaBotBlockAPI')
24+
}
25+
2626
dependencies{
2727
api group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.3.1'
2828
api group: 'org.json', name: 'json', version: '20190722'
@@ -81,9 +81,9 @@ build{
8181
}
8282

8383
bintray{
84-
user = System.getenv("bintrayUser")
85-
key = System.getenv("bintrayApiKey")
86-
publications = ['JavaBotBlockAPIRelease']
84+
user = System.getenv("BintrayUser")
85+
key = System.getenv("BintrayApiKey")
86+
publications = ['BintrayRelease']
8787
pkg{
8888
repo = 'maven'
8989
name = 'JavaBotBlockAPI'
@@ -92,13 +92,14 @@ bintray{
9292
version{
9393
name = project.version
9494
released = new Date()
95+
vcsTag = System.getenv("VcsTag")
9596
}
9697
}
9798
}
9899

99100
publishing{
100101
publications{
101-
JavaBotBlockAPIRelease(MavenPublication){
102+
BintrayRelease(MavenPublication){
102103
from(components.java)
103104
groupId group
104105
artifactId archivesBaseName

docs/allclasses-index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>All Classes (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>All Classes (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="All Classes (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="All Classes (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {

docs/allclasses.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>All Classes (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>All Classes (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>

docs/allpackages-index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>All Packages (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>All Packages (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="All Packages (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="All Packages (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {

docs/constant-values.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>Constant Field Values (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>Constant Field Values (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="Constant Field Values (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="Constant Field Values (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {

docs/deprecated-list.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>Deprecated List (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>Deprecated List (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="Deprecated List (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="Deprecated List (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {
@@ -126,6 +126,13 @@ <h2 title="Contents">Contents</h2>
126126
<br>Use <a href="org/botblock/javabotblockapi/Site.html#DISCORDEXTREMELIST_XYZ"><code>DISCORDEXTREMELIST_XYZ</code></a> instead.</div>
127127
</td>
128128
</tr>
129+
<tr class="altColor">
130+
<th class="colDeprecatedItemName" scope="row"><a href="org/botblock/javabotblockapi/Site.html#TOP_GG">org.botblock.javabotblockapi.Site.TOP_GG</a></th>
131+
<td class="colLast">
132+
<div class="deprecationComment">Top.gg no longer allows requests to their site being made through BotBlock.
133+
<br><a href="https://imgur.com/sd50Ze4" target="_blank">Proof</a></div>
134+
</td>
135+
</tr>
129136
</tbody>
130137
</table>
131138
</li>

docs/help-doc.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>API Help (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>API Help (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="API Help (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="API Help (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {

docs/index-all.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>Index (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>Index (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="Index (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="Index (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {
@@ -689,8 +689,10 @@ <h2 class="title">T</h2>
689689
<dl>
690690
<dt><span class="memberNameLink"><a href="org/botblock/javabotblockapi/Site.html#TOP_GG">TOP_GG</a></span> - org.botblock.javabotblockapi.<a href="org/botblock/javabotblockapi/Site.html" title="enum in org.botblock.javabotblockapi">Site</a></dt>
691691
<dd>
692-
<div class="block"><a href="https://top.gg" target="_blank">top.gg</a>
693-
<br>Note that top.gg is discordbots.org (new domain).</div>
692+
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
693+
<div class="deprecationComment">Top.gg no longer allows requests to their site being made through BotBlock.
694+
<br><a href="https://imgur.com/sd50Ze4" target="_blank">Proof</a></div>
695+
</div>
694696
</dd>
695697
</dl>
696698
<a id="I:V">

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="de">
44
<head>
5-
<!-- Generated by javadoc (11.0.4) on Mon Jan 20 17:53:10 CET 2020 -->
6-
<title>Overview (JavaBotBlockAPI 5.1.1 API)</title>
5+
<!-- Generated by javadoc (11.0.4) on Wed Jan 22 12:46:26 CET 2020 -->
6+
<title>Overview (JavaBotBlockAPI 5.1.6 API)</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2020-01-20">
8+
<meta name="dc.created" content="2020-01-22">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
1111
<script type="text/javascript" src="script.js"></script>
@@ -22,7 +22,7 @@
2222
<script type="text/javascript"><!--
2323
try {
2424
if (location.href.indexOf('is-external=true') == -1) {
25-
parent.document.title="Overview (JavaBotBlockAPI 5.1.1 API)";
25+
parent.document.title="Overview (JavaBotBlockAPI 5.1.6 API)";
2626
}
2727
}
2828
catch(err) {
@@ -93,7 +93,7 @@
9393
</nav>
9494
</header>
9595
<div class="header">
96-
<h1 class="title">JavaBotBlockAPI 5.1.1 API</h1>
96+
<h1 class="title">JavaBotBlockAPI 5.1.6 API</h1>
9797
</div>
9898
<main role="main">
9999
<div class="contentContainer">

0 commit comments

Comments
 (0)