Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const { Module } = require('../structures')
- module.exports = class Social extends Module {
- constructor (client) {
- super(client)
- this.name = 'social'
- this.requiresDatabase = true
- }
- async checkMarriageStatus(user) {
- const { marriage } = await this.client.database.users.get(user)
- if (!marriage) return null
- else return { spouse: this.client.users.get(marriage.spouse), date: marriage.marriageTimestamp }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement