mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 06:05:22 +00:00
@@ -11,7 +11,7 @@ const { ban } = require('../stores/user');
|
|||||||
const displayUser = user =>
|
const displayUser = user =>
|
||||||
user.first_name
|
user.first_name
|
||||||
? link(user)
|
? link(user)
|
||||||
: `an user with id <code>${user.id}</code>`;
|
: `a user with id <code>${user.id}</code>`;
|
||||||
|
|
||||||
module.exports = async ({ admin, userToBan, reason }) => {
|
module.exports = async ({ admin, userToBan, reason }) => {
|
||||||
// move some checks from handler here?
|
// move some checks from handler here?
|
||||||
|
Reference in New Issue
Block a user