sxcybot

Discord bot for OSRS based channels
git clone git://git.wimdupont.com/sxcybot.git
Log | Files | Refs | README | LICENSE

ModeNameSize
-rwxr-xr-x.gitignore39L
-rwxr-xr-x.mvn/wrapper/MavenWrapperDownloader.java117L
-rwxr-xr-x.mvn/wrapper/maven-wrapper.jar50710B
-rwxr-xr-x.mvn/wrapper/maven-wrapper.properties2L
-rw-r--r--LICENSE339L
-rw-r--r--README.md3L
-rwxr-xr-xmvnw310L
-rwxr-xr-xmvnw.cmd182L
-rw-r--r--pom.xml124L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/SxcyBotApplication.java101L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/client/ClientErrorHandler.java27L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/client/GrandExchangeClient.java43L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/client/HiScoreClient.java110L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/config/AppConfig.java15L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/config/MailConfig.java82L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/config/PersistenceConfig.java23L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/enums/Command.java47L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/enums/OsrsCombatStat.java17L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/enums/PvmRole.java14L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/exceptions/EntityNotFoundException.java8L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/exceptions/InsufficientPrivilegesException.java10L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/AdminCommandListener.java133L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/CommandListener.java132L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/EventWaiterUtil.java36L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/GuildMemberEventListener.java45L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/Listener.java7L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/PollReactionListener.java124L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/PrivateListener.java9L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/TimeOutRunner.java28L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/BanlistListener.java57L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/BossUpdateMultiplierListener.java67L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/EditBanlistListener.java54L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/EditPvmListener.java54L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/EditRoleListener.java55L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/EditRuleListener.java54L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/RoleAssignListener.java99L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/banlist/AddBanlistUserListener.java47L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/banlist/DeleteBanlistUserListener.java41L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/banlist/UpdateBanlistUserListener.java59L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/pvmrole/AddPvmListener.java77L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/pvmrole/DeletePvmListener.java76L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/pvmrole/UpdatePvmListener.java85L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/role/AddRoleListener.java55L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/role/DeleteRoleListener.java52L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/role/UpdateRoleListener.java54L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/rule/AddRuleListener.java40L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/rule/DeleteRuleListener.java51L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/admin/rule/UpdateRuleListener.java51L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/BB8Listener.java25L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/CombatStatsListener.java44L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/CustomPollListener.java51L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/EventListener.java59L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/ForumListener.java31L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/HelpListener.java35L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/HiscoreBossListener.java50L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/KillCountListener.java52L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/PingListener.java19L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/PollListener.java67L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/PriceListener.java43L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/PvmListListener.java44L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/PvmRoleCheckListener.java34L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/PvmRolePollListener.java33L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/RuleListener.java45L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/RulesListener.java41L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/listeners/member/StatsListener.java31L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/model/CombatDto.java124L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/model/EditListenerDto.java93L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/model/HiScoreBuilder.java11L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/model/OsrsBossKc.java56L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/model/OsrsItem.java64L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/model/OsrsStat.java65L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/ChannelDetailRepository.java9L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/GuildEventDmerRepository.java9L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/GuildRoleRepository.java18L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/PollRepository.java13L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/RuleRepository.java14L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/UserRepository.java16L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/ChannelDetail.java157L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/Event.java86L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/GuildEventDmer.java75L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/GuildRole.java108L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/Poll.java117L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/Rule.java92L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/dao/User.java184L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/pvmrole/PvmKcSnapshotRepository.java14L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/pvmrole/PvmRoleUserRepository.java14L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/pvmrole/dao/PvmKcSnapshot.java147L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/pvmrole/dao/PvmRoleUser.java168L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/guild/pvmrole/dao/PvmUserKc.java183L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/osrs/OsrsHiscoreBossRepository.java13L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/osrs/OsrsHiscoreStatRepository.java9L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/osrs/dao/OsrsHiscore.java7L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/osrs/dao/OsrsHiscoreBoss.java126L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/repository/osrs/dao/OsrsHiscoreStat.java93L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/CleanupScheduler.java62L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/MailService.java82L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/OsrsMonitoringService.java153L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/PvMRoleResolver.java75L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/ChannelDetailService.java34L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/GuildEventDmerService.java23L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/GuildRoleService.java45L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/PollService.java36L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/RuleService.java37L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/UserService.java38L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/pvmrole/PvmKcSnapshotService.java36L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/pvmrole/PvmRoleAssignerService.java97L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/pvmrole/PvmRoleSnapshotComparatorService.java97L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/guild/pvmrole/PvmRoleUserService.java50L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/osrs/CombatCalculatorService.java29L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/osrs/OsrsHiscoreBossService.java34L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/osrs/OsrsHiscoreStatService.java24L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/services/osrs/StatMessageSender.java49L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/Constants.java39L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/CustomPollFiller.java80L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/DiscordMemberFinderUtil.java50L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/EditListenerUtil.java46L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/JdaUtil.java58L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/NumberFormatter.java15L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/ReleaseNotesUtil.java65L
-rw-r--r--src/main/java/com/wimdupont/sxcybot/util/SpringSecurityAuditorAware.java21L
-rw-r--r--src/main/resources/application.properties32L
-rw-r--r--src/main/resources/db/migration/V1_0__db-init.sql87L
-rw-r--r--src/main/resources/db/migration/V1_10__db-add_missing_from_init.sql3L
-rw-r--r--src/main/resources/db/migration/V1_11__add_discordid_to_pvmrole_user.sql1L
-rw-r--r--src/main/resources/db/migration/V1_12__remove_discordname_from_pvmroleuser.sql2L
-rw-r--r--src/main/resources/db/migration/V1_13__wildy_bosses_hiscore_update.sql26L
-rw-r--r--src/main/resources/db/migration/V1_14__BH_legacy_hiscores_fix.sql1L
-rw-r--r--src/main/resources/db/migration/V1_15__DT2_hiscore_bosses.sql23L
-rw-r--r--src/main/resources/db/migration/V1_16__hiscore_update.sql1L
-rw-r--r--src/main/resources/db/migration/V1_17__scurrius_boss_added.sql5L
-rw-r--r--src/main/resources/db/migration/V1_18__varlamore_update.sql12L
-rw-r--r--src/main/resources/db/migration/V1_1__insert_osrs_values.sql75L
-rw-r--r--src/main/resources/db/migration/V1_2__db-update.sql1L
-rw-r--r--src/main/resources/db/migration/V1_3__update_boss_tob_hard.sql5L
-rw-r--r--src/main/resources/db/migration/V1_4__update_phosanis_nightmare.sql5L
-rw-r--r--src/main/resources/db/migration/V1_5__nex_boss.sql5L
-rw-r--r--src/main/resources/db/migration/V1_6__rifts_added_fix_bosses.sql1L
-rw-r--r--src/main/resources/db/migration/V1_7__arena_added_fix_bosses.sql1L
-rw-r--r--src/main/resources/db/migration/V1_8__tomb_of_amascut_boss_added.sql9L
-rw-r--r--src/main/resources/db/migration/V1_9__phantom_muspah_boss.sql5L
-rwxr-xr-xsrc/main/resources/images/bb8.jpg54089B
-rw-r--r--src/main/resources/logback-spring.xml55L
-rw-r--r--src/main/resources/releasenotes.csv1L
-rw-r--r--src/main/resources/todo.adoc12L
-rwxr-xr-xsrc/test/java/com/wimdupont/sxcybot/SxcyBotApplicationTests.java17L
-rw-r--r--src/test/java/com/wimdupont/sxcybot/client/GrandExchangeClientTest.java49L
-rw-r--r--src/test/java/com/wimdupont/sxcybot/client/HiScoreClientTest.java104L