diff --git a/commands/image-edit/osu-signature.js b/commands/image-edit/osu-signature.js index 53b56af5..f98da5c0 100644 --- a/commands/image-edit/osu-signature.js +++ b/commands/image-edit/osu-signature.js @@ -48,7 +48,7 @@ module.exports = class OsuSignatureCommand extends Command { onlineindicator: '', xpbar: '' }); - if (text.startsWith('
\nWarning')) return msg.say('Could not find any results.'); + if (text.includes('Warning')) return msg.say('Could not find any results.'); return msg.say({ files: [{ attachment: body, name: 'osu-signature.png' }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);