mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
One more option
This commit is contained in:
@@ -37,6 +37,7 @@ module.exports = class CountryCommand extends Command {
|
||||
|| country.altSpellings.some(alt => alt.toLowerCase() === query.toLowerCase())
|
||||
|| country.alpha2Code.toLowerCase() === query.toLowerCase()
|
||||
|| country.alpha3Code.toLowerCase() === query.toLowerCase()
|
||||
|| country.nativeName.toLowerCase() === query.toLowerCase()
|
||||
}) || body[0];
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(0x00AE86)
|
||||
|
||||
Reference in New Issue
Block a user