Add banner command
This commit is contained in:
parent
921eb318bc
commit
8ea6e0234a
1 changed files with 13 additions and 0 deletions
13
commands/info/banner.js
Normal file
13
commands/info/banner.js
Normal 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.")
|
||||
}
|
||||
};
|
Loading…
Add table
Reference in a new issue