mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Analog Clock Command
This commit is contained in:
@@ -5,6 +5,7 @@ const Collection = require('@discordjs/collection');
|
||||
const winston = require('winston');
|
||||
const fontFinder = require('font-finder');
|
||||
const nsfw = require('nsfwjs');
|
||||
const moment = require('moment-timezone');
|
||||
const fs = require('fs');
|
||||
const url = require('url');
|
||||
const path = require('path');
|
||||
@@ -65,6 +66,12 @@ module.exports = class XiaoClient extends CommandoClient {
|
||||
return this.fonts;
|
||||
}
|
||||
|
||||
setTimezones() {
|
||||
moment.tz.link('America/Vancouver|Neopia');
|
||||
moment.tz.link('America/Los_Angeles|Discord');
|
||||
moment.tz.link('America/New_York|Dragon');
|
||||
}
|
||||
|
||||
async postTopGGStats() {
|
||||
if (!TOP_GG_TOKEN) return null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user