log IDs on command execution
This commit is contained in:
parent
205a93dfb2
commit
c2bae09528
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ let commands: Command[];
|
|||
let message: MessageCommandContext = msg as MessageCommandContext;
|
||||
message.serverContext = serverCtx;
|
||||
|
||||
logger.info(`Command: ${message.author?.username} in ${message.channel?.server?.name}: ${message.content}`);
|
||||
logger.info(`Command: ${message.author?.username} (${message.author?._id}) in ${message.channel?.server?.name} (${message.channel?.server?._id}): ${message.content}`);
|
||||
|
||||
// Create document for server in DB, if not already present
|
||||
if (JSON.stringify(config) == '{}') await client.db.get('servers').insert({ id: message.channel?.server_id });
|
||||
|
|
Loading…
Reference in a new issue