Make outputted files .md instead of .txt
This commit is contained in:
parent
2fe7b53a6e
commit
b3288e7684
2
index.js
2
index.js
|
@ -246,7 +246,7 @@ client.on('messageCreate', async (message) => {
|
||||||
message.channel.send({
|
message.channel.send({
|
||||||
files: [{
|
files: [{
|
||||||
attachment: Buffer.from(output.content),
|
attachment: Buffer.from(output.content),
|
||||||
name: "output.txt"
|
name: "output.md"
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue