mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 15:57:50 +02:00
Fix
This commit is contained in:
@@ -139,7 +139,7 @@ module.exports = class Pokemon {
|
||||
}
|
||||
|
||||
get smogonURL() {
|
||||
if (this.missingno) return null;
|
||||
if (this.missingno) return missingno.url;
|
||||
return `https://www.smogon.com/dex/${this.id > 807 ? 'ss' : 'sm'}/pokemon/${this.slug}/`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user