Allow GIF too

This commit is contained in:
Daniel Odendahl Jr
2018-11-10 15:46:35 +00:00
parent 73b9c56981
commit c58e912080
+1 -1
View File
@@ -1,5 +1,5 @@
const { ArgumentType } = require('discord.js-commando');
const fileTypeRe = /\.(jpe?g|png)$/i;
const fileTypeRe = /\.(jpe?g|png|gif)$/i;
module.exports = class ImageArgumentType extends ArgumentType {
constructor(client) {