With this snippet, you can add the time zone of a world region in your bot's status and it will automatically update every minute. Don't forget to edit your time zone. You can see all the time zones here https://www.timeapi.io/Tools/TimeZoneMap by clicking on the map and the name of the time zone will appear. NOTE: There may be a delay in updates
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const axios = require('axios');
const clockJSON = await axios(
'https://www.timeapi.io/api/Time/current/zone?timeZone=Europe/Andorra'
// Edit timezone ^ ^ ^
// To find out what time zone you can enter here "https://www.timeapi.io/Tools/TimeZoneMap" and click on a part of the map and the name will appear
).then((res) => res.data);
await lib.discord.users['@0.2.0'].me.status.update({
activity_name: `${clockJSON.time}`,
activity_type: 'GAME',
// Options: GAME, STREAMING, LISTENING, WATCHING, COMPETING
status: 'ONLINE'
// Options: ONLINE, INVISIBLE, DND, IDLE
});