Rename banner command to serverbanner
This commit is contained in:
parent
4a8d7be6c6
commit
97830d8444
1 changed files with 1 additions and 1 deletions
15
commands/info/serverbanner.js
Normal file
15
commands/info/serverbanner.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
|
||||
module.exports = {
|
||||
name: 'serverbanner',
|
||||
description: 'Returns server banner',
|
||||
execute({message}) {
|
||||
|
||||
let bannerURL = message.guild.bannerURL({format: 'png', size: 4096});
|
||||
console.log(bannerURL)
|
||||
if(bannerURL)
|
||||
message.channel.send(bannerURL)
|
||||
else
|
||||
message.channel.send("There is no banner.")
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue