Fabricio20 / LewdWiki

LewdBot Wiki and Issue Tracker
24 stars 29 forks source link

Command "background" not working well #159

Open ghost opened 4 years ago

ghost commented 4 years ago

I bought two and he won't let you put any here. What happened to me is what the bot gives me;

Me: l!background buy Minimalistic Shinobu Oshino from Monogatari Series. LewdBot: You already own this background.

Me: l!background buy Minimalistic Kurumi from Date a Live. LewdBot: You already own this background.

Me: l!background use Minimalistic Shinobu Oshino from Monogatari Series. LewdBot: You don't own this background.

Me: l!background use Minimalistic Shinobu Oshino from Monogatari Series. LewdBot: You don't own this background.

Fabricio20 commented 4 years ago

Hey there, just a question, could you try using double quotes around the background name?

The way param splitting works is by spaces, which means it's likely using the Minimalistic keyword and finding several backgrounds instead of the one you specified.

L!bg use "Minimalistic Shinobu Oshino from Monogatari Series"

ghost commented 4 years ago

Thank you very much, it works perfectly now, it hurts that it does not recognize the spaces, I recommend you if you are the creator of the bot that you specify the quotes in the bot command list

Thank you!!