mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = class OsuSignatureCommand extends Command {
|
||||
onlineindicator: '',
|
||||
xpbar: ''
|
||||
});
|
||||
if (text.startsWith('<br />\n<b>Warning</b>')) return msg.say('Could not find any results.');
|
||||
if (text.includes('<b>Warning</b>')) 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!`);
|
||||
|
||||
Reference in New Issue
Block a user