mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-09-04 16:15:19 +00:00
colon
This commit is contained in:
2
index.js
2
index.js
@@ -119,7 +119,7 @@ bot.command('warns', async ({ message, reply }) => {
|
|||||||
}
|
}
|
||||||
let i = 0;
|
let i = 0;
|
||||||
const theUser = message.reply_to_message.from;
|
const theUser = message.reply_to_message.from;
|
||||||
return reply('Warns for ' + link(theUser) + '\n' +
|
return reply('Warns for ' + link(theUser) + ':\n' +
|
||||||
(await warns.getWarns(theUser))
|
(await warns.getWarns(theUser))
|
||||||
.map(x => ++i + '. ' + x)
|
.map(x => ++i + '. ' + x)
|
||||||
.join('\n'), replyOptions);
|
.join('\n'), replyOptions);
|
||||||
|
Reference in New Issue
Block a user