Fix banner command
This commit is contained in:
parent
8ea6e0234a
commit
9f5b2675c2
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ module.exports = {
|
|||
description: 'Returns server banner',
|
||||
execute({message}) {
|
||||
|
||||
if(message.guild.bannerURL({size: 4096}))
|
||||
message.channel.send(message.guild.bannerURL())
|
||||
if(message.guild.bannerURL())
|
||||
message.channel.send(message.guild.bannerURL({format: 'png', size: 4096}))
|
||||
else
|
||||
message.channel.send("There is no banner.")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue