mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
stripIndents
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
const { stripIndents } = require('common-tags');
|
||||
|
||||
module.exports = class CowsayCommand extends Command {
|
||||
constructor(client) {
|
||||
@@ -24,13 +25,15 @@ module.exports = class CowsayCommand extends Command {
|
||||
|
||||
run(msg, args) {
|
||||
const { text } = args;
|
||||
return msg.code(null,
|
||||
`< ${text} >
|
||||
return msg.code(null,
|
||||
stripIndents`
|
||||
< ${text} >
|
||||
\\ ^__^
|
||||
\\ (oO)\\_______
|
||||
(__)\\ )\\/\\
|
||||
U ||----w |
|
||||
|| ||`
|
||||
|| ||
|
||||
`
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user