bugfix: logging user id
This commit is contained in:
parent
b8adefd093
commit
bba1617926
@ -113,7 +113,9 @@ export async function execute(oldState, newState) {
|
|||||||
step = 'move to';
|
step = 'move to';
|
||||||
// Move user to private channel
|
// Move user to private channel
|
||||||
await newState.setChannel(privCh);
|
await newState.setChannel(privCh);
|
||||||
console.info(`[INFO] User '${name}' created private channel with ID ${privCh.id}.`);
|
console.info(
|
||||||
|
`[INFO] User with ID '${member.id}' created private channel with ID ${privCh.id}.`
|
||||||
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
await member.send(`Failed to ${step} channel! Please contact server staff.`);
|
await member.send(`Failed to ${step} channel! Please contact server staff.`);
|
||||||
|
Loading…
Reference in New Issue
Block a user