This repository was archived by the owner on Jul 26, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ There are a lot of other methods that you can use. Head over to the [Wiki] for m
76
76
You can post the guilds eithe automatically or manually depending on your own preferences.
77
77
78
78
#### Auto-posting
79
- JavaBotBlockAPI comes with an inbuild scheduler to post yout guilds automatically.
79
+ JavaBotBlockAPI comes with an inbuild scheduler to post yout guilds automatically.
80
80
To use it simply use the ` startAutoPosting ` method and provide either a JDA instance, ShardManager instance or the bot id and guild count.
81
81
82
- ** Example** :
82
+ ** Example** :
83
83
``` java
84
84
// We need to get an instance of RequestHandler to use the methods.
85
85
RequestHandler handler = new RequestHandler ();
@@ -88,14 +88,14 @@ RequestHandler handler = new RequestHandler();
88
88
handler. startAutoPosting(jda, api);
89
89
```
90
90
91
- But what if you want to stop it?
92
- For that just call the ` stopAutoPosting ` method:
91
+ But what if you want to stop it?
92
+ For that just call the ` stopAutoPosting ` method:
93
93
```
94
94
handler.stopAutoPosting();
95
95
```
96
96
97
97
#### Manual posting
98
- If you want to post the guild counts manually you can use the ` postGuilds ` method.
98
+ If you want to post the guild counts manually you can use the ` postGuilds ` method.
99
99
``` java
100
100
// We need to get an instance of RequestHandler to use the methods.
101
101
RequestHandler handler = new RequestHandler ();
You can’t perform that action at this time.
0 commit comments