@@ -53,7 +53,7 @@ This will also work with ShardManager.
53
53
You can post you guild counts to the different Botlists using the BotBlock API.
54
54
55
55
### Creating an instance of BotBlockAPI
56
- For posting your guild counts towards the BotBlock API you first need to create an instance of the BotBlockAPI class.
56
+ For posting your guild counts towards the BotBlock API you first need to create an instance of the BotBlockAPI class.
57
57
To do this it's recommended to use ` BotBlockAPI.Builder() ` .
58
58
59
59
Here is an example of how it could look like.
@@ -66,7 +66,7 @@ BotBlockAPI api = new BotBlockAPI.Builder()
66
66
Remember to use ` .build(); ` at the end to create the class.
67
67
68
68
### Auto Posting
69
- JavaBotBlockAPI allows you to post the guild counts automatically every X minutes.
69
+ JavaBotBlockAPI allows you to post the guild counts automatically every X minutes.
70
70
To do this, you first need to get an instance of the RequestHandler and then call ` .startAutoPosting(...) ` .
71
71
72
72
Here is an example:
@@ -82,7 +82,7 @@ The delay in which you post the guild counts is set through the `.setUpdateInter
82
82
To cancel the auto posting just call ` .stopAutoPosting(); ` in the RequestHandler and it should cancel the scheduler.
83
83
84
84
### Manually posting
85
- There are methods that allow you to post the guild counts manually.
85
+ There are methods that allow you to post the guild counts manually.
86
86
To Post your guild counts, just call the ` .postGuilds(..., ...) ` method in the RequestHandler.
87
87
88
88
``` java
@@ -123,7 +123,7 @@ The returned JSONObject could look like this:
123
123
```
124
124
125
125
### Single Botlist
126
- Calling ` .getBotlist(String) ` returns a specific Botlist as JSONObject.
126
+ Calling ` .getBotlist(String) ` returns a specific Botlist as JSONObject.
127
127
For example does ` .getBotlist("lbots.org") ` return the following JSONObject:
128
128
``` json
129
129
{
@@ -164,7 +164,7 @@ The JSONObject can look like this:
164
164
}
165
165
```
166
166
167
- ` {"data"} ` is the JSON that is returned by the provided Botlist meaning it's different for each site.
167
+ ` {"data"} ` is the JSON that is returned by the provided Botlist meaning it's different for each site.
168
168
` name ` , ` owners ` , ` server_count ` and ` invite ` is based on the most common appearances of the data.
169
169
170
170
### Botinfo from all Botlists
@@ -186,11 +186,11 @@ The returned JSONObject can look like this:
186
186
` {"data"} ` is the JSON that is returned by the provided Botlist meaning it's different for each site.
187
187
188
188
### Botinfo of a single site
189
- With ` .getBotInfo(..., String) ` can you receive the info of a specific site.
189
+ With ` .getBotInfo(..., String) ` can you receive the info of a specific site.
190
190
The returned data depends on the selected site and can be different for each one.
191
191
192
192
### Owners
193
- You can call ` .getOwners(...) ` to get the owners of a Bot from all the Botlists.
193
+ You can call ` .getOwners(...) ` to get the owners of a Bot from all the Botlists.
194
194
The info is returned as ArrayList and is based on how often the info is provided by the botlists.
195
195
196
196
## Exceptions
0 commit comments