Add banner command

This commit is contained in:
SileNce5k 2022-01-22 09:27:38 +01:00
parent 921eb318bc
commit 8ea6e0234a
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

13
commands/info/banner.js Normal file
View file

@ -0,0 +1,13 @@
module.exports = {
name: 'banner',
description: 'Returns server banner',
execute({message}) {
if(message.guild.bannerURL({size: 4096}))
message.channel.send(message.guild.bannerURL())
else
message.channel.send("There is no banner.")
}
};