Created
June 21, 2020 06:29
-
-
Save ionutale/fdc410436e16348ad176ba1887b8b33d to your computer and use it in GitHub Desktop.
get the clan info for clash of clan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function showClanByTag(tag) { | |
try { | |
const ClanByTag = await client.clanByTag(tag) | |
console.log("this is the player info:", ClanByTag) | |
} catch (error) { | |
console.error(error) | |
} | |
} | |
showClanByTag('#UPC2UQ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment