Skip to content

Commit adbd5e1

Browse files
authored
Merge pull request #82 from the-programmers-hangout/develop
release: merge develop for 2.0.1
2 parents 784eae6 + 0846b42 commit adbd5e1

File tree

4 files changed

+14
-100
lines changed

4 files changed

+14
-100
lines changed

commands.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@
5353
| rules | (Message) | List the rules of this guild. Pass a message ID to edit existing rules embed. |
5454

5555
## User
56-
| Commands | Arguments | Description |
57-
| -------------- | ----------------------------------------- | ---------------------------------------------------------- |
58-
| ban | LowerUserArg, (Delete message days), Text | Ban a member from this guild. |
59-
| getBanReason | User | Get a ban reason for a banned user |
60-
| history, h, H | User | Use this to view a user's record. |
61-
| link | Main Account, Alt Account | Link a user's alt account with their main |
62-
| listAlts, alts | User | Use this to view a user's alt accounts. |
63-
| selfHistory | | View your infraction history (contents will be DM'd) |
64-
| setBanReason | User, Reason | Set a ban reason for a banned user |
65-
| unban | User | Unban a banned member from this guild. |
66-
| unlink | Main Account, Alt Account | Link a user's alt account with their main |
67-
| whatpfp | User | Perform a reverse image search of a User's profile picture |
56+
| Commands | Arguments | Description |
57+
| ------------- | ----------------------------------------- | ---------------------------------------------------------- |
58+
| alts | User | Use this to view a user's alt accounts. |
59+
| ban | LowerUserArg, (Delete message days), Text | Ban a member from this guild. |
60+
| getBanReason | User | Get a ban reason for a banned user |
61+
| history, h, H | User | Use this to view a user's record. |
62+
| link | Main Account, Alt Account | Link a user's alt account with their main |
63+
| selfHistory | | View your infraction history (contents will be DM'd) |
64+
| setBanReason | User, Reason | Set a ban reason for a banned user |
65+
| unban | User | Unban a banned member from this guild. |
66+
| unlink | Main Account, Alt Account | Link a user's alt account with their main |
67+
| whatpfp | User | Perform a reverse image search of a User's profile picture |
6868

6969
## Utility
7070
| Commands | Arguments | Description |

src/main/kotlin/me/ddivad/judgebot/Main.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import me.ddivad.judgebot.services.BotStatsService
77
import me.ddivad.judgebot.services.infractions.MuteService
88
import me.ddivad.judgebot.services.PermissionsService
99
import me.ddivad.judgebot.services.infractions.BanService
10-
import me.ddivad.judgebot.services.migrations.JoinLeaveMigration
1110
import me.ddivad.judgebot.services.requiredPermissionLevel
1211
import me.jakejmattson.discordkt.api.dsl.bot
1312
import me.jakejmattson.discordkt.api.extensions.addInlineField
@@ -58,7 +57,7 @@ suspend fun main(args: Array<String>) {
5857
field {
5958
name = "Build Info"
6059
value = "```" +
61-
"Version: 2.0.0\n" +
60+
"Version: 2.0.1\n" +
6261
"DiscordKt: ${versions.library}\n" +
6362
"Kotlin: $kotlinVersion" +
6463
"```"
@@ -83,14 +82,12 @@ suspend fun main(args: Array<String>) {
8382
}
8483

8584
onStart {
86-
val (muteService, banService, joinLeaveMigration) = this.getInjectionObjects(
85+
val (muteService, banService) = this.getInjectionObjects(
8786
MuteService::class,
8887
BanService::class,
89-
JoinLeaveMigration::class
9088
)
9189
muteService.initGuilds()
9290
banService.initialiseBanTimers()
93-
joinLeaveMigration.run()
9491
}
9592

9693
intents {

src/main/kotlin/me/ddivad/judgebot/dataclasses/GuildMember.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ data class GuildMemberDetails(
1515
val infractions: MutableList<Infraction> = mutableListOf(),
1616
val info: MutableList<Info> = mutableListOf(),
1717
val linkedAccounts: MutableList<String> = mutableListOf(),
18-
var leaveHistory: MutableList<GuildLeave> = mutableListOf(),
1918
var historyCount: Int = 0,
2019
var points: Int = 0,
2120
var pointDecayTimer: Long = DateTime().millis,

src/main/kotlin/me/ddivad/judgebot/services/migrations/JoinLeaveMigration.kt

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)