Ban Message Design
This commit is contained in:
@@ -88,7 +88,7 @@ router.delete("/:id", async (req, res) => {
|
||||
data: {
|
||||
userId: dispatcher.userId,
|
||||
type: bann ? (until ? "TIME_BAN" : "BAN") : "KICK",
|
||||
until: until ? new Date(until) : null,
|
||||
until: until ? new Date(until) : new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 50),
|
||||
reason: reason,
|
||||
createdUserId: req.user.id,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user