Skip to content
Success

Changes

Summary

  1. `discordtimeout` command (#51) (commit: 4097373) (details)
Commit 40973736fbfb7d04158c9eced452637fcc66b0cf by noreply
`discordtimeout` command (#51)

* Add `discordtimeout` command and related tag.

Also added forgotten default for `discordbancommand` + new switch syntax.

* Add `null` check if member is invalid.

* Make meta sound more correct.

* Meta optimization + another `discordban` optimization

Thanks to Funky on discord for suggesting the meta change (https://discord.com/channels/315163488085475337/1027064108056580106/1065251950268010567).
(commit: 4097373)
The file was addedsrc/main/java/com/denizenscript/ddiscordbot/commands/DiscordTimeoutCommand.java
The file was modifiedsrc/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java (diff)
The file was modifiedsrc/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java (diff)
The file was modifiedsrc/main/java/com/denizenscript/ddiscordbot/commands/DiscordBanCommand.java (diff)