mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 06:05:22 +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;
|
||||
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))
|
||||
.map(x => ++i + '. ' + x)
|
||||
.join('\n'), replyOptions);
|
||||
|
Reference in New Issue
Block a user