Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Java-Discord/JavaBot
/ functions
Functions
1,112 in github.com/Java-Discord/JavaBot
⨍
Functions
1,112
◇
Types & classes
319
↓ 1 callers
Method
replyHelpThanks
Builds and replies {@link ActionRow}s with all members which helped the owner of the {@link HelpManager#postThread} forum post. @param callback The c
src/main/java/net/discordjug/javabot/systems/help/HelpManager.java:83
↓ 1 callers
Method
replyQuestions
Replies with all Question of the Week Questions. @param event The {@link CommandAutoCompleteInteractionEvent} that was fired. @return A {@link List}
src/main/java/net/discordjug/javabot/systems/qotw/commands/questions_queue/RemoveQuestionSubcommand.java:63
↓ 1 callers
Method
replyTags
Replies with all available custom tags. @param guild The current {@link Guild}. @param text The text choices need to match @return A {@link List} wit
src/main/java/net/discordjug/javabot/systems/staff_commands/tags/CustomTagManager.java:62
↓ 1 callers
Method
save
Inserts a single {@link QOTWQuestion}. @param question The {@link QOTWQuestion} to insert. @throws SQLException If an error occurs.
src/main/java/net/discordjug/javabot/systems/qotw/dao/QuestionQueueRepository.java:32
↓ 1 callers
Method
save
Inserts a new {@link HelpTransaction}. @param transaction The transaction that should be inserted. @return The inserted {@link HelpTransaction}. @thr
src/main/java/net/discordjug/javabot/systems/help/dao/HelpTransactionRepository.java:38
↓ 1 callers
Method
search
Gets all custom commands for the given guild matching a specified query. A tag matches the query if the name or reply contains the query. @param guil
src/main/java/net/discordjug/javabot/systems/staff_commands/tags/dao/CustomTagRepository.java:132
↓ 1 callers
Method
searchWeb
(@NotNull String searchQuery)
src/main/java/net/discordjug/javabot/systems/user_commands/search/SearchWebService.java:38
↓ 1 callers
Method
sendAccountDecrementedNotification
()
src/main/java/net/discordjug/javabot/systems/notification/QOTWNotificationService.java:54
↓ 1 callers
Method
sendBanGuildNotification
(User user, String reason, Member moderator)
src/main/java/net/discordjug/javabot/systems/moderation/ModerationService.java:328
↓ 1 callers
Method
sendBestAnswerNotification
()
src/main/java/net/discordjug/javabot/systems/notification/QOTWNotificationService.java:46
↓ 1 callers
Method
sendChunksInOrder
(MessageChannel channel, List<String> messages, int index, Message target, @Nonnull CommandInteraction event)
src/main/java/net/discordjug/javabot/systems/user_commands/format_code/FormatCodeDispatcher.java:57
↓ 1 callers
Method
sendDMDormantInfoIfEnabled
(ThreadChannel post, HelpConfig config)
src/main/java/net/discordjug/javabot/systems/help/HelpForumUpdater.java:82
↓ 1 callers
Method
sendDeletedMessageToLog
Sends the deleted message's content to the {@link MessageCacheConfig#getMessageCacheLogChannel()}. @param guild The message's {@link Guild}. @param
src/main/java/net/discordjug/javabot/data/h2db/message_cache/MessageCache.java:149
↓ 1 callers
Method
sendExpertSubmission
Sends the Expert Applications contents to the {@link ModerationConfig#getApplicationChannel()}. @param event The {@link ModalInteractionEvent} that
src/main/java/net/discordjug/javabot/systems/staff_commands/self_roles/SelfRoleInteractionManager.java:227
↓ 1 callers
Method
sendKickGuildNotification
(User user, String reason, Member moderator)
src/main/java/net/discordjug/javabot/systems/moderation/ModerationService.java:324
↓ 1 callers
Method
sendMoveToChannelMessage
(@NotNull SlashCommandInteractionEvent event, @NotNull GuildMessageChannel channel, @NotNull Message movedTo)
src/main/java/net/discordjug/javabot/systems/user_commands/MoveConversationCommand.java:110
↓ 1 callers
Method
sendMovedFromChannelMessage
(@NotNull SlashCommandInteractionEvent event, @NotNull GuildMessageChannel channel)
src/main/java/net/discordjug/javabot/systems/user_commands/MoveConversationCommand.java:115
↓ 1 callers
Method
sendNotifications
(SlashCommandInteractionEvent event, Member member, long points, boolean quiet)
src/main/java/net/discordjug/javabot/systems/qotw/commands/qotw_points/ChangePointsSubcommand.java:70
↓ 1 callers
Method
sendRemoveTimeoutGuildNotification
(User user, String reason, Member moderator)
src/main/java/net/discordjug/javabot/systems/moderation/ModerationService.java:340
↓ 1 callers
Method
sendStaffSubmission
Sends the Staff Applications contents to the {@link ModerationConfig#getApplicationChannel()}. @param event The {@link ModalInteractionEvent} that i
src/main/java/net/discordjug/javabot/systems/staff_commands/self_roles/SelfRoleInteractionManager.java:180
↓ 1 callers
Method
sendSubmissionDeclinedEmbed
Sends a "your submission was declined"-notification to the {@link QOTWNotificationService#user}. @param status The {@link SubmissionStatus}. Must NOT
src/main/java/net/discordjug/javabot/systems/notification/QOTWNotificationService.java:64
↓ 1 callers
Method
sendTimeoutGuildNotification
(User user, String reason, Member moderator, Duration duration)
src/main/java/net/discordjug/javabot/systems/moderation/ModerationService.java:336
↓ 1 callers
Method
sendToMessageLog
Sends a notification to the message cache log channel. @param function The {@link Function} to use which MUST return a {@link MessageCreateAction}.
src/main/java/net/discordjug/javabot/systems/notification/GuildNotificationService.java:41
↓ 1 callers
Method
sendUnbanGuildNotification
(User user, String reason, Member moderator)
src/main/java/net/discordjug/javabot/systems/moderation/ModerationService.java:332
↓ 1 callers
Method
sendUpdatedMessageToLog
Sends the updated message's content to the {@link MessageCacheConfig#getMessageCacheLogChannel()}. @param updated The new {@link Message}. @param bef
src/main/java/net/discordjug/javabot/data/h2db/message_cache/MessageCache.java:129
↓ 1 callers
Method
sendUserNotification
(@NotNull QOTWNotificationService notificationService, Member member)
src/main/java/net/discordjug/javabot/systems/qotw/commands/qotw_points/ChangePointsSubcommand.java:80
↓ 1 callers
Method
set
Sets the value of a field to a new value. @param field The field to set. @param parent The object whose property value to set. @param s The str
src/main/java/net/discordjug/javabot/data/config/ReflectionUtils.java:86
↓ 1 callers
Method
setCurrentQOTWChampions
Sets the current QOTW champions for a specific guild. @param guild the guild to set the QOTW champions in @param users the QOTW champions
src/main/java/net/discordjug/javabot/systems/qotw/dao/QOTWChampionRepository.java:37
↓ 1 callers
Method
setOrCreate
Simply sets the state of the specified {@link Preference} for the specified user. If no entry for that user is found, this will simply create a new on
src/main/java/net/discordjug/javabot/systems/user_preferences/UserPreferenceService.java:35
↓ 1 callers
Method
setPointsAtDate
Sets the points of a user at a certain date. @param userId the id of the user to set to points of @param date the date when the points should be mark
src/main/java/net/discordjug/javabot/systems/qotw/dao/QuestionPointsRepository.java:73
↓ 1 callers
Method
setRequireStaff
(boolean requireStaff)
src/main/java/net/discordjug/javabot/systems/moderation/ModerateCommand.java:48
↓ 1 callers
Method
shouldAddInitialEmotes
Whether the bot should add the first upvote and downvote emotes to messages that are eligible for voting. @param guild The guild to get this setting
src/main/java/net/discordjug/javabot/listener/ForumPostVoteListener.java:86
↓ 1 callers
Method
shouldInitSchema
(String jdbcUrl)
src/main/java/net/discordjug/javabot/data/h2db/DbHelper.java:82
↓ 1 callers
Method
shouldRunFilters
(@NotNull MessageReceivedEvent event)
src/main/java/net/discordjug/javabot/listener/filter/MessageFilterHandler.java:77
↓ 1 callers
Method
sortByPoints
Gets all {@link QOTWAccount} and sorts them by their points. @param startDate the minimum date points are considered @return A {@link List} that cont
src/main/java/net/discordjug/javabot/systems/qotw/dao/QuestionPointsRepository.java:85
↓ 1 callers
Method
standardActivities
A list of standard Activities. @param threadPool The thread pool to use for updating activities @return A pre-built implementation of the {@link Pres
src/main/java/net/discordjug/javabot/tasks/PresenceUpdater.java:82
↓ 1 callers
Method
synchronize
Synchronizes Messages saved in the Database with what is currently stored in memory. This action is executed in the background.
src/main/java/net/discordjug/javabot/data/h2db/message_cache/MessageCache.java:88
↓ 1 callers
Method
thankHelper
Thanks a single user. @param guild The {@link Guild} the helper is thanked in @param postThread The {@link ThreadChannel} post. @param helperId The
src/main/java/net/discordjug/javabot/systems/help/HelpManager.java:178
↓ 1 callers
Method
toDiscordChunks
Splits {@link #content} into pieces that each fit within {@link #MAX_SIZE}, breaking on newlines where possible so lines are not cut in half. @return
src/main/java/net/discordjug/javabot/systems/user_commands/format_code/Code.java:42
↓ 1 callers
Method
toDiscordMessages
Splits the content into chunks that each fit within Discord's character limit and wraps every chunk in a language-tagged code block. @return the form
src/main/java/net/discordjug/javabot/systems/user_commands/format_code/Code.java:68
↓ 1 callers
Method
unban
Unbans a user. @param userId The user's id. @param reason The reason for unbanning this user. @param bannedBy The member who is responsible for unb
src/main/java/net/discordjug/javabot/systems/moderation/ModerationService.java:284
↓ 1 callers
Method
unban
(ModalInteraction interaction, long memberId, String reason)
src/main/java/net/discordjug/javabot/util/InteractionUtils.java:183
↓ 1 callers
Method
unreserveAllHelpChannels
Unreserves any help channels that a leaving user may have reserved. @param user The user who is leaving. @param guild The guild they're leaving.
src/main/java/net/discordjug/javabot/listener/UserLeaveListener.java:56
↓ 1 callers
Method
updateExperience
(double change)
src/main/java/net/discordjug/javabot/systems/help/model/HelpAccount.java:28
↓ 1 callers
Method
updateForm
Synchronizes form object's values with fields in database. @param newData new form data. A form with matching ID will be updated in the
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/dao/FormsRepository.java:272
↓ 1 callers
Method
updateStaffActivity
Updates the staff activity message or creates it if necessary. Called when a tracked staff activity is executed. If no channel is configured for staff
src/main/java/net/discordjug/javabot/systems/staff_activity/StaffActivityService.java:47
↓ 1 callers
Method
updateStarboardMessage
(@NotNull Message message, int stars, @NotNull StarboardConfig config)
src/main/java/net/discordjug/javabot/systems/starboard/StarboardManager.java:180
↓ 1 callers
Method
updateState
(long userId, @NotNull Preference preference, String state)
src/main/java/net/discordjug/javabot/systems/user_preferences/dao/UserPreferenceRepository.java:41
Method
AcceptSuggestionSubcommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param botConfig
src/main/java/net/discordjug/javabot/systems/staff_commands/suggestions/AcceptSuggestionSubcommand.java:25
Method
AddEmbedFieldSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/staff_commands/embeds/AddEmbedFieldSubcommand.java:39
Method
AddFieldFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param botConfig bot configuration
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/AddFieldFormSubcommand.java:51
Method
AddQuestionSubcommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param questionQ
src/main/java/net/discordjug/javabot/systems/qotw/commands/questions_queue/AddQuestionSubcommand.java:39
Method
AddRoleEmojiSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}s. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/staff_commands/role_emoji/AddRoleEmojiSubcommand.java:29
Method
AddTimeoutSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot @param moderati
src/main/java/net/discordjug/javabot/systems/moderation/timeout/AddTimeoutSubcommand.java:34
Method
AttachFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param botConfig bot configuration
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/AttachFormSubcommand.java:55
Method
AutoMod
Constructor of the class, that creates a list of strings with potential spam/scam urls. @param notificationService The {@link QOTWPointsService} @para
src/main/java/net/discordjug/javabot/systems/moderation/AutoMod.java:59
Method
AvatarCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}.
src/main/java/net/discordjug/javabot/systems/user_commands/AvatarCommand.java:24
Method
BanCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param botConfig
src/main/java/net/discordjug/javabot/systems/moderation/BanCommand.java:29
Method
Bar
(double singleElement)
src/main/java/net/discordjug/javabot/util/Plotter.java:104
Method
BotConfig
Constructs a new empty configuration. @param dir The path to the directory containing the guild configuration files.
src/main/java/net/discordjug/javabot/data/config/BotConfig.java:51
Method
BotInfoCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}.
src/main/java/net/discordjug/javabot/systems/user_commands/BotInfoCommand.java:29
Method
CachedMessage
(long messageId, long authorId)
src/main/java/net/discordjug/javabot/data/h2db/message_cache/model/CachedMessage.java:25
Method
CaffeineCache
(Cache<K, V> cache)
src/main/java/net/discordjug/javabot/api/routes/CaffeineCache.java:18
Method
ChangeMyMindCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}.
src/main/java/net/discordjug/javabot/systems/user_commands/ChangeMyMindCommand.java:42
Method
ChangePointsSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param pointsService The {@link QOTWPointsService} @param notifica
src/main/java/net/discordjug/javabot/systems/qotw/commands/qotw_points/ChangePointsSubcommand.java:37
Method
ChangeSelfRoleStatusSubcommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param notificat
src/main/java/net/discordjug/javabot/systems/staff_commands/self_roles/ChangeSelfRoleStatusSubcommand.java:31
Method
CheckLockStatusSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/moderation/server_lock/CheckLockStatusSubcommand.java:23
Method
Checks
()
src/main/java/net/discordjug/javabot/util/Checks.java:29
Method
ClearSuggestionSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/staff_commands/suggestions/ClearSuggestionSubcommand.java:24
Method
CloseCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param botConfig
src/main/java/net/discordjug/javabot/systems/help/commands/CloseCommand.java:28
Method
CloseFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param interactionManager form interaction manager @param bot
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/CloseFormSubcommand.java:38
Method
Code
Creates a code block for the given language and content. @param language the language the code is written in, used for syntax highlighting @param con
src/main/java/net/discordjug/javabot/systems/user_commands/format_code/Code.java:27
Method
ColorUtils
()
src/main/java/net/discordjug/javabot/util/ColorUtils.java:11
Method
ConfigCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param exportCon
src/main/java/net/discordjug/javabot/systems/configuration/ConfigCommand.java:18
Method
ConfigSubcommand
(BotConfig botConfig)
src/main/java/net/discordjug/javabot/systems/configuration/ConfigSubcommand.java:36
Method
Constants
()
src/main/java/net/discordjug/javabot/util/Constants.java:23
Method
CreateCustomTagSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param tagManager The {@link CustomTagManager} @param botConfig Th
src/main/java/net/discordjug/javabot/systems/staff_commands/tags/commands/CreateCustomTagSubcommand.java:43
Method
CreateEmbedSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/staff_commands/embeds/CreateEmbedSubcommand.java:47
Method
CreateFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param botConfig bot configuration
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/CreateFormSubcommand.java:36
Method
CreateSelfRoleSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param notificationService The {@link NotificationService}
src/main/java/net/discordjug/javabot/systems/staff_commands/self_roles/CreateSelfRoleSubcommand.java:36
Method
CustomVCAddMemberSubcommand
(CustomVCRepository dataStorage, BotConfig botConfig)
src/main/java/net/discordjug/javabot/systems/custom_vc/commands/CustomVCAddMemberSubcommand.java:16
Method
CustomVCChangeMembersSubcommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SubcommandData}. @param subcommandD
src/main/java/net/discordjug/javabot/systems/custom_vc/commands/CustomVCChangeMembersSubcommand.java:31
Method
CustomVCControlCommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param addMember
src/main/java/net/discordjug/javabot/systems/custom_vc/commands/CustomVCControlCommand.java:16
Method
CustomVCRemoveMemberSubcommand
(CustomVCRepository dataStorage, BotConfig botConfig)
src/main/java/net/discordjug/javabot/systems/custom_vc/commands/CustomVCRemoveMemberSubcommand.java:19
Method
DbAdminCommand
This classes constructor which sets the {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData} and adds the corresponding {@link net
src/main/java/net/discordjug/javabot/data/h2db/commands/DbAdminCommand.java:27
Method
DeclineSuggestionSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/staff_commands/suggestions/DeclineSuggestionSubcommand.java:26
Method
DecrementPointsSubcommand
(QOTWPointsService pointsService, NotificationService notificationService)
src/main/java/net/discordjug/javabot/systems/qotw/commands/qotw_points/DecrementPointsSubcommand.java:19
Method
DeleteCustomTagSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param customTagManager The {@link CustomTagManager} @param botCon
src/main/java/net/discordjug/javabot/systems/staff_commands/tags/commands/DeleteCustomTagSubcommand.java:44
Method
DeleteFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param botConfig bot configuration
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/DeleteFormSubcommand.java:34
Method
DetachFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param botConfig bot configuration
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/DetachFormSubcommand.java:46
Method
DetailsFormSubcommand
The main constructor of this subcommand. @param formsRepo the forms repository @param botConfig bot configuration
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/DetailsFormSubcommand.java:42
Method
DiscardAllWarnsSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot @param moderati
src/main/java/net/discordjug/javabot/systems/moderation/warn/DiscardAllWarnsSubcommand.java:29
Method
DiscardWarnByIdSubCommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot @param moderati
src/main/java/net/discordjug/javabot/systems/moderation/warn/DiscardWarnByIdSubCommand.java:27
Method
EditCustomTagSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param customTagManager The {@link CustomTagManager} @param botCon
src/main/java/net/discordjug/javabot/systems/staff_commands/tags/commands/EditCustomTagSubcommand.java:56
Method
EditEmbedSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param botConfig The main configuration of the bot
src/main/java/net/discordjug/javabot/systems/staff_commands/embeds/EditEmbedSubcommand.java:64
Method
EmbedCommand
This classes constructor which sets the {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData} and adds the corresponding {@link net
src/main/java/net/discordjug/javabot/systems/staff_commands/embeds/EmbedCommand.java:19
Method
ExceptionLogger
()
src/main/java/net/discordjug/javabot/util/ExceptionLogger.java:11
Method
ExperienceLeaderboardSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param helpAccountRepository Dao object that represents the HELP_A
src/main/java/net/discordjug/javabot/systems/user_commands/leaderboard/ExperienceLeaderboardSubcommand.java:60
Method
ExportConfigSubcommand
The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}. @param botConfig
src/main/java/net/discordjug/javabot/systems/configuration/ExportConfigSubcommand.java:23
Method
ExportSchemaSubcommand
The constructor of this class, which sets the corresponding {@link SubcommandData}. @param asyncPool The main thread pool for asynchronous operations
src/main/java/net/discordjug/javabot/data/h2db/commands/ExportSchemaSubcommand.java:40
← previous
next →
601–700 of 1,112, ranked by callers