mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 12:23:09 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
353cb5795e
@ -60,7 +60,7 @@ module.exports = class NewCommand extends Command {
|
||||
let list = tickets.rows.map(row => {
|
||||
if (row.topic) {
|
||||
let description = row.topic.substring(0, 30);
|
||||
let ellipses = description.length > 30 ? '...' : '';
|
||||
let ellipses = row.topic.length > 30 ? '...' : '';
|
||||
return `<#${row.id}>: \`${description}${ellipses}\``;
|
||||
} else {
|
||||
return `<#${row.id}>`;
|
||||
@ -171,4 +171,4 @@ module.exports = class NewCommand extends Command {
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user