zerinho6bot-zz / Zerinho6-Bot

Pretty fast and lite Discord bot made in JavaScript using Discord.js
MIT License
5 stars 2 forks source link

serverinfo'll not work if the guild has a splash #18

Open zerinho6 opened 4 years ago

zerinho6 commented 4 years ago

Describe the bug The serverinfo command will not work if the guild does have a splash background because it uses a function that only takes the code of the splash and not the URL.

To Reproduce Steps to reproduce the behavior:

  1. Go to a guild with a splash background defined
  2. Use the serverinfo command
  3. See the bot doing nothing.

Expected behavior

The guild splash showing on the embed thumbnail.

image

Use guild.splashURL instead of guild.splash

moruzerinho6 commented 4 years ago

Those fixes won't the PR to this repo because I lost access to that account, if you want the fixed version, you'll need to download from https://github.com/moruzerinho6/Zerinho6-Bot, if you're not sure if it's really me, go to Discord and ask the user that got tagged here https://github.com/zerinho6bot/Zerinho6-Bot#hey-i-want-to-contact-you