Skip to content

Conversation

@Lpsd
Copy link
Member

@Lpsd Lpsd commented Feb 3, 2024

Updates the .tblock command, adding an extra argument for block duration. The argument is optional and defaults to "5d" (5 days).

Usage: .tblock <userid> <duration>

Duration is a string e.g 1 day, 1d, 2 months, 60s

Adds a command to check if user is blocked, .tcheckblock <userid>

Copy link
Member

@xLive xLive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use Discord timestamp format instead of fromtimestamp, but other than that, LGTM :shipit:

Copy link

@theSarrum theSarrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make the changes that @xLive suggested.

@Lpsd Lpsd merged commit e3daf07 into master Feb 5, 2024
@Lpsd Lpsd deleted the tblock branch February 5, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants