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
7676You can post the guilds eithe automatically or manually depending on your own preferences.
7777
7878#### 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.
8080To use it simply use the ` startAutoPosting ` method and provide either a JDA instance, ShardManager instance or the bot id and guild count.
8181
82- ** Example** :
82+ ** Example** :
8383``` java
8484// We need to get an instance of RequestHandler to use the methods.
8585RequestHandler handler = new RequestHandler ();
@@ -88,14 +88,14 @@ RequestHandler handler = new RequestHandler();
8888handler. startAutoPosting(jda, api);
8989```
9090
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:
9393```
9494handler.stopAutoPosting();
9595```
9696
9797#### 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.
9999``` java
100100// We need to get an instance of RequestHandler to use the methods.
101101RequestHandler handler = new RequestHandler ();
You can’t perform that action at this time.
0 commit comments