Skip to content

Commit fbb059f

Browse files
Replace all headings in javadocs (discord-jda#2123)
1 parent d38da22 commit fbb059f

File tree

120 files changed

+240
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+240
-237
lines changed

src/main/java/net/dv8tion/jda/api/JDA.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public boolean equals(Object o)
257257
* The time in milliseconds that discord took to respond to a REST request.
258258
* <br>This will request the current user from the API and calculate the time the response took.
259259
*
260-
* <h4>Example</h4>
260+
* <p><b>Example</b><br>
261261
* <pre><code>
262262
* jda.getRestPing().queue( (time) {@literal ->}
263263
* channel.sendMessageFormat("Ping: %d ms", time).queue()
@@ -287,7 +287,7 @@ default RestAction<Long> getRestPing()
287287
/**
288288
* This method will block until JDA has reached the specified connection status.
289289
*
290-
* <h4>Login Cycle</h4>
290+
* <p><b>Login Cycle</b><br>
291291
* <ol>
292292
* <li>{@link net.dv8tion.jda.api.JDA.Status#INITIALIZING INITIALIZING}</li>
293293
* <li>{@link net.dv8tion.jda.api.JDA.Status#INITIALIZED INITIALIZED}</li>
@@ -323,7 +323,7 @@ default JDA awaitStatus(@Nonnull JDA.Status status) throws InterruptedException
323323
/**
324324
* This method will block until JDA has reached the specified connection status.
325325
*
326-
* <h4>Login Cycle</h4>
326+
* <p><b>Login Cycle</b><br>
327327
* <ol>
328328
* <li>{@link net.dv8tion.jda.api.JDA.Status#INITIALIZING INITIALIZING}</li>
329329
* <li>{@link net.dv8tion.jda.api.JDA.Status#INITIALIZED INITIALIZED}</li>
@@ -1309,7 +1309,7 @@ default PrivateChannel getPrivateChannelById(long id)
13091309
* <p>If the channel is cached, this will directly return the channel in a completed {@link RestAction} without making a request.
13101310
* You can use {@link CacheRestAction#useCache(boolean) action.useCache(false)} to force an update.
13111311
*
1312-
* <h4>Example</h4>
1312+
* <p><b>Example</b><br>
13131313
* <pre>{@code
13141314
* public void sendMessage(JDA jda, long userId, String content) {
13151315
* jda.openPrivateChannelById(userId)
@@ -1337,7 +1337,7 @@ default PrivateChannel getPrivateChannelById(long id)
13371337
* <br>This will fail with {@link net.dv8tion.jda.api.requests.ErrorResponse#UNKNOWN_USER UNKNOWN_USER}
13381338
* if the user does not exist.
13391339
*
1340-
* <h4>Example</h4>
1340+
* <p><b>Example</b><br>
13411341
* <pre>{@code
13421342
* public void sendMessage(JDA jda, String userId, String content) {
13431343
* jda.openPrivateChannelById(userId)

src/main/java/net/dv8tion/jda/api/JDABuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ public JDABuilder disableCache(@Nonnull CacheFlag flag, @Nonnull CacheFlag... fl
672672
* <p>It is not recommended to disable {@link GatewayIntent#GUILD_MEMBERS GatewayIntent.GUILD_MEMBERS} when
673673
* using {@link MemberCachePolicy#ALL MemberCachePolicy.ALL} as the members cannot be removed from cache by a leave event without this intent.
674674
*
675-
* <h4>Example</h4>
675+
* <p><b>Example</b><br>
676676
* <pre>{@code
677677
* public void configureCache(JDABuilder builder) {
678678
* // Cache members who are in a voice channel
@@ -802,7 +802,7 @@ public JDABuilder setRequestTimeoutRetry(boolean retryOnTimeout)
802802
* Sets the token that will be used by the {@link net.dv8tion.jda.api.JDA} instance to log in when
803803
* {@link net.dv8tion.jda.api.JDABuilder#build() build()} is called.
804804
*
805-
* <h4>For {@link net.dv8tion.jda.api.AccountType#BOT}</h4>
805+
* <p><b>For {@link net.dv8tion.jda.api.AccountType#BOT}</b><br>
806806
* <ol>
807807
* <li>Go to your <a href="https://discord.com/developers/applications/me">Discord Applications</a></li>
808808
* <li>Create or select an already existing application</li>

src/main/java/net/dv8tion/jda/api/audit/ActionType.java

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public enum ActionType
2929
/**
3030
* An Administrator updated {@link net.dv8tion.jda.api.entities.Guild Guild} information.
3131
*
32-
* <h4>Possible Keys</h4>
32+
* <p><b>Possible Keys</b><br>
3333
* <ul>
3434
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#GUILD_AFK_CHANNEL GUILD_AFK_CHANNEL}</li>
3535
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#GUILD_AFK_TIMEOUT GUILD_AFK_TIMEOUT}</li>
@@ -52,7 +52,7 @@ public enum ActionType
5252
/**
5353
* An Administrator created a {@link GuildChannel GuildChannel}
5454
*
55-
* <h4>Possible Keys</h4>
55+
* <p><b>Possible Keys</b><br>
5656
* <ul>
5757
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_BITRATE CHANNEL_BITRATE} (VoiceChannel only)</li>
5858
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_USER_LIMIT CHANNEL_USER_LIMIT} (VoiceChannel only)</li>
@@ -70,7 +70,7 @@ public enum ActionType
7070
/**
7171
* An Administrator updated {@link GuildChannel GuildChannel} information.
7272
*
73-
* <h4>Possible Keys</h4>
73+
* <p><b>Possible Keys</b><br>
7474
* <ul>
7575
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_BITRATE CHANNEL_BITRATE} (VoiceChannel only)</li>
7676
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_USER_LIMIT CHANNEL_USER_LIMIT} (VoiceChannel only)</li>
@@ -86,7 +86,7 @@ public enum ActionType
8686
/**
8787
* An Administrator deleted a {@link GuildChannel GuildChannel}.
8888
*
89-
* <h4>Possible Keys</h4>
89+
* <p><b>Possible Keys</b><br>
9090
* <ul>
9191
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_BITRATE CHANNEL_BITRATE} (VoiceChannel only)</li>
9292
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_USER_LIMIT CHANNEL_USER_LIMIT} (VoiceChannel only)</li>
@@ -104,15 +104,15 @@ public enum ActionType
104104
/**
105105
* An Administrator created a {@link net.dv8tion.jda.api.entities.PermissionOverride PermissionOverride}.
106106
*
107-
* <h4>Possible Keys</h4>
107+
* <p><b>Possible Keys</b><br>
108108
* <ul>
109109
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_ALLOW OVERRIDE_ALLOW}</li>
110110
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_DENY OVERRIDE_DENY}</li>
111111
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_TYPE OVERRIDE_TYPE}</li>
112112
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ID ID}</li>
113113
* </ul>
114114
*
115-
* <h4>Possible Options</h4>
115+
* <p><b>Possible Options</b><br>
116116
* <ul>
117117
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#ROLE ROLE}</li>
118118
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#USER USER}</li>
@@ -123,7 +123,7 @@ public enum ActionType
123123
/**
124124
* An Administrator updated {@link net.dv8tion.jda.api.entities.PermissionOverride PermissionOverride} information.
125125
*
126-
* <h4>Possible Keys</h4>
126+
* <p><b>Possible Keys</b><br>
127127
* <ul>
128128
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_ALLOW OVERRIDE_ALLOW}</li>
129129
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_DENY OVERRIDE_DENY}</li>
@@ -134,15 +134,15 @@ public enum ActionType
134134
/**
135135
* An Administrator deleted a {@link net.dv8tion.jda.api.entities.PermissionOverride PermissionOverride}.
136136
*
137-
* <h4>Possible Keys</h4>
137+
* <p><b>Possible Keys</b><br>
138138
* <ul>
139139
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_ALLOW OVERRIDE_ALLOW}</li>
140140
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_DENY OVERRIDE_DENY}</li>
141141
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#OVERRIDE_TYPE OVERRIDE_TYPE}</li>
142142
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ID ID}</li>
143143
* </ul>
144144
*
145-
* <h4>Possible Options</h4>
145+
* <p><b>Possible Options</b><br>
146146
* <ul>
147147
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#ROLE ROLE}</li>
148148
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#USER USER}</li>
@@ -159,7 +159,7 @@ public enum ActionType
159159
/**
160160
* An Administrator has pruned members for inactivity.
161161
*
162-
* <h4>Possible Options</h4>
162+
* <p><b>Possible Options</b><br>
163163
* <ul>
164164
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#DELETE_MEMBER_DAYS DELETE_MEMBER_DAYS}</li>
165165
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#MEMBERS_REMOVED MEMBERS_REMOVED}</li>
@@ -182,7 +182,7 @@ public enum ActionType
182182
* A {@link net.dv8tion.jda.api.entities.Member Member} was either updated by an administrator or
183183
* the member updated itself.
184184
*
185-
* <h4>Possible Keys</h4>
185+
* <p><b>Possible Keys</b><br>
186186
* <ul>
187187
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#MEMBER_NICK MEMBER_NICK}</li>
188188
* </ul>
@@ -192,7 +192,7 @@ public enum ActionType
192192
/**
193193
* An Administrator updated the roles of a member.
194194
*
195-
* <h4>Possible Keys</h4>
195+
* <p><b>Possible Keys</b><br>
196196
* <ul>
197197
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#MEMBER_ROLES_ADD MEMBER_ROLES_ADD}</li>
198198
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#MEMBER_ROLES_REMOVE MEMBER_ROLES_REMOVE}</li>
@@ -203,7 +203,7 @@ public enum ActionType
203203
/**
204204
* One or more members were moved from one voice channel to another by an Administrator
205205
*
206-
* <h4>Possible Options</h4>
206+
* <p><b>Possible Options</b><br>
207207
* <ul>
208208
* <li>{@link AuditLogOption#COUNT} The amount of users moved</li>
209209
* <li>{@link AuditLogOption#CHANNEL} The target channel</li>
@@ -214,7 +214,7 @@ public enum ActionType
214214
/**
215215
* One or more members were disconnected from a voice channel by an Administrator
216216
*
217-
* <h4>Possible Options</h4>
217+
* <p><b>Possible Options</b><br>
218218
* <ul>
219219
* <li>{@link AuditLogOption#COUNT} The amount of users who were disconnected</li>
220220
* </ul>
@@ -230,7 +230,7 @@ public enum ActionType
230230
/**
231231
* An Administrator has created a {@link net.dv8tion.jda.api.entities.Role Role}.
232232
*
233-
* <h4>Possible Keys</h4>
233+
* <p><b>Possible Keys</b><br>
234234
* <ul>
235235
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ROLE_COLOR ROLE_COLOR}</li>
236236
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ROLE_HOISTED ROLE_HOISTED}</li>
@@ -245,7 +245,7 @@ public enum ActionType
245245
/**
246246
* An Administrator has updated a {@link net.dv8tion.jda.api.entities.Role Role}.
247247
*
248-
* <h4>Possible Keys</h4>
248+
* <p><b>Possible Keys</b><br>
249249
* <ul>
250250
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ROLE_COLOR ROLE_COLOR}</li>
251251
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ROLE_HOISTED ROLE_HOISTED}</li>
@@ -259,7 +259,7 @@ public enum ActionType
259259
/**
260260
* An Administrator has deleted a {@link net.dv8tion.jda.api.entities.Role Role}.
261261
*
262-
* <h4>Possible Keys</h4>
262+
* <p><b>Possible Keys</b><br>
263263
* <ul>
264264
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ROLE_COLOR ROLE_COLOR}</li>
265265
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#ROLE_HOISTED ROLE_HOISTED}</li>
@@ -275,7 +275,7 @@ public enum ActionType
275275
/**
276276
* Someone has created an {@link net.dv8tion.jda.api.entities.Invite Invite}.
277277
*
278-
* <h4>Possible Keys</h4>
278+
* <p><b>Possible Keys</b><br>
279279
* <ul>
280280
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#INVITE_CHANNEL INVITE_CHANNEL}</li>
281281
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#INVITE_CODE INVITE_CODE}</li>
@@ -295,7 +295,7 @@ public enum ActionType
295295
/**
296296
* An Administrator has deleted an {@link net.dv8tion.jda.api.entities.Invite Invite}.
297297
*
298-
* <h4>Possible Keys</h4>
298+
* <p><b>Possible Keys</b><br>
299299
* <ul>
300300
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#INVITE_CHANNEL INVITE_CHANNEL}</li>
301301
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#INVITE_CODE INVITE_CODE}</li>
@@ -311,7 +311,7 @@ public enum ActionType
311311
/**
312312
* An Administrator has created a {@link net.dv8tion.jda.api.entities.Webhook Webhook}.
313313
*
314-
* <h4>Possible Keys</h4>
314+
* <p><b>Possible Keys</b><br>
315315
* <ul>
316316
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#WEBHOOK_CHANNEL WEBHOOK_CHANNEL}</li>
317317
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#WEBHOOK_ICON WEBHOOK_ICON}</li>
@@ -324,7 +324,7 @@ public enum ActionType
324324
/**
325325
* An Administrator has updated a {@link net.dv8tion.jda.api.entities.Webhook Webhook}.
326326
*
327-
* <h4>Possible Keys</h4>
327+
* <p><b>Possible Keys</b><br>
328328
* <ul>
329329
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#WEBHOOK_CHANNEL WEBHOOK_CHANNEL}</li>
330330
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#WEBHOOK_ICON WEBHOOK_ICON}</li>
@@ -337,7 +337,7 @@ public enum ActionType
337337
/**
338338
* An Administrator has deleted a {@link net.dv8tion.jda.api.entities.Webhook Webhook}.
339339
*
340-
* <h4>Possible Keys</h4>
340+
* <p><b>Possible Keys</b><br>
341341
* <ul>
342342
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#WEBHOOK_CHANNEL WEBHOOK_CHANNEL}</li>
343343
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#WEBHOOK_ICON WEBHOOK_ICON}</li>
@@ -351,7 +351,7 @@ public enum ActionType
351351
/**
352352
* An Administrator created an {@link RichCustomEmoji Custom Emoji}.
353353
*
354-
* <h4>Possible Keys</h4>
354+
* <p><b>Possible Keys</b><br>
355355
* <ul>
356356
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#EMOJI_NAME EMOJI_NAME}</li>
357357
* </ul>
@@ -361,7 +361,7 @@ public enum ActionType
361361
/**
362362
* An Administrator updated an {@link RichCustomEmoji Custom Emoji}.
363363
*
364-
* <h4>Possible Keys</h4>
364+
* <p><b>Possible Keys</b><br>
365365
* <ul>
366366
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#EMOJI_NAME EMOJI_NAME}</li>
367367
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#EMOJI_ROLES_ADD EMOJI_ROLES_ADD}</li>
@@ -373,7 +373,7 @@ public enum ActionType
373373
/**
374374
* An Administrator deleted an {@link RichCustomEmoji Custom Emoji}.
375375
*
376-
* <h4>Possible Keys</h4>
376+
* <p><b>Possible Keys</b><br>
377377
* <ul>
378378
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#EMOJI_NAME EMOJI_NAME}</li>
379379
* </ul>
@@ -394,7 +394,7 @@ public enum ActionType
394394
/**
395395
* An Administrator has deleted one or more {@link net.dv8tion.jda.api.entities.Message Messages}.
396396
*
397-
* <h4>Possible Options</h4>
397+
* <p><b>Possible Options</b><br>
398398
* <ul>
399399
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#COUNT COUNT}</li>
400400
* </ul>
@@ -404,7 +404,7 @@ public enum ActionType
404404
/**
405405
* An Administrator has performed a bulk delete of messages in a channel
406406
*
407-
* <h4>Possible Options</h4>
407+
* <p><b>Possible Options</b><br>
408408
* <ul>
409409
* <li>{@link AuditLogOption#COUNT}</li>
410410
* </ul>
@@ -414,7 +414,7 @@ public enum ActionType
414414
/**
415415
* An Administrator has pinned a message in the channel
416416
*
417-
* <h4>Possible Options</h4>
417+
* <p><b>Possible Options</b><br>
418418
* <ul>
419419
* <li>{@link AuditLogOption#CHANNEL}</li>
420420
* <li>{@link AuditLogOption#MESSAGE}</li>
@@ -425,7 +425,7 @@ public enum ActionType
425425
/**
426426
* An Administrator has unpinned a message in the channel
427427
*
428-
* <h4>Possible Options</h4>
428+
* <p><b>Possible Options</b><br>
429429
* <ul>
430430
* <li>{@link AuditLogOption#CHANNEL}</li>
431431
* <li>{@link AuditLogOption#MESSAGE}</li>
@@ -451,12 +451,12 @@ public enum ActionType
451451
/**
452452
* A {@link net.dv8tion.jda.api.entities.StageInstance StageInstance} was started by a {@link net.dv8tion.jda.api.entities.StageChannel#isModerator(Member) Stage Moderator}.
453453
*
454-
* <h4>Possible Options</h4>
454+
* <p><b>Possible Options</b><br>
455455
* <ul>
456456
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#CHANNEL CHANNEL}</li>
457457
* </ul>
458458
*
459-
* <h4>Possible Keys</h4>
459+
* <p><b>Possible Keys</b><br>
460460
* <ul>
461461
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_TOPIC CHANNEL_TOPIC}</li>
462462
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#PRIVACY_LEVEL STAGE_INSTANCE_PRIVACY_LEVEL}</li>
@@ -467,12 +467,12 @@ public enum ActionType
467467
/**
468468
* A {@link net.dv8tion.jda.api.entities.StageInstance StageInstance} was updated by a {@link net.dv8tion.jda.api.entities.StageChannel#isModerator(Member) Stage Moderator}.
469469
*
470-
* <h4>Possible Options</h4>
470+
* <p><b>Possible Options</b><br>
471471
* <ul>
472472
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#CHANNEL CHANNEL}</li>
473473
* </ul>
474474
*
475-
* <h4>Possible Keys</h4>
475+
* <p><b>Possible Keys</b><br>
476476
* <ul>
477477
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_TOPIC CHANNEL_TOPIC}</li>
478478
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#PRIVACY_LEVEL STAGE_INSTANCE_PRIVACY_LEVEL}</li>
@@ -483,12 +483,12 @@ public enum ActionType
483483
/**
484484
* A {@link net.dv8tion.jda.api.entities.StageInstance StageInstance} was deleted by a {@link net.dv8tion.jda.api.entities.StageChannel#isModerator(Member) Stage Moderator}.
485485
*
486-
* <h4>Possible Options</h4>
486+
* <p><b>Possible Options</b><br>
487487
* <ul>
488488
* <li>{@link net.dv8tion.jda.api.audit.AuditLogOption#CHANNEL CHANNEL}</li>
489489
* </ul>
490490
*
491-
* <h4>Possible Keys</h4>
491+
* <p><b>Possible Keys</b><br>
492492
* <ul>
493493
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#CHANNEL_TOPIC CHANNEL_TOPIC}</li>
494494
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#PRIVACY_LEVEL STAGE_INSTANCE_PRIVACY_LEVEL}</li>
@@ -499,7 +499,7 @@ public enum ActionType
499499
/**
500500
* A user created a {@link net.dv8tion.jda.api.entities.ThreadChannel ThreadChannel}
501501
*
502-
* <h4>Possible Keys</h4>
502+
* <p><b>Possible Keys</b><br>
503503
* <ul>
504504
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#THREAD_NAME THREAD_NAME}</li>
505505
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#THREAD_SLOWMODE THREAD_SLOWMODE}</li>
@@ -515,7 +515,7 @@ public enum ActionType
515515
/**
516516
* A user updated a {@link net.dv8tion.jda.api.entities.ThreadChannel ThreadChannel}
517517
*
518-
* <h4>Possible Keys</h4>
518+
* <p><b>Possible Keys</b><br>
519519
* <ul>
520520
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#THREAD_NAME THREAD_NAME}</li>
521521
* <li>{@link net.dv8tion.jda.api.audit.AuditLogKey#THREAD_SLOWMODE THREAD_SLOWMODE}</li>

src/main/java/net/dv8tion/jda/api/audit/TargetType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* or {@link net.dv8tion.jda.api.audit.AuditLogEntry#getTargetType() AuditLogEntry.getTargetType()}.
2525
* <br>This helps to decide what entity type the target id of an AuditLogEntry refers to.
2626
*
27-
* <h2>Example</h2>
27+
* <p><b>Example</b><br>
2828
* If {@code entry.getTargetType()} is type {@link #GUILD}
2929
* <br>Then the target id returned by {@code entry.getTargetId()} and {@code entry.getTargetIdLong()}
3030
* can be used with {@link net.dv8tion.jda.api.JDA#getGuildById(long) JDA.getGuildById(id)}

0 commit comments

Comments
 (0)