4 |
import CommandOptions from '../../types/CommandOptions'; |
import CommandOptions from '../../types/CommandOptions'; |
5 |
import InteractionOptions from '../../types/InteractionOptions'; |
import InteractionOptions from '../../types/InteractionOptions'; |
6 |
import MessageEmbed from '../../client/MessageEmbed'; |
import MessageEmbed from '../../client/MessageEmbed'; |
|
import e from 'express'; |
|
|
import getUser from '../../utils/getUser'; |
|
7 |
import getMember from '../../utils/getMember'; |
import getMember from '../../utils/getMember'; |
8 |
import { timeSince } from '../../utils/util'; |
import { timeSince } from '../../utils/util'; |
9 |
import { roleMention } from '@discordjs/builders'; |
import { roleMention } from '@discordjs/builders'; |
75 |
console.log(a); |
console.log(a); |
76 |
|
|
77 |
if (a.type === 'CUSTOM') { |
if (a.type === 'CUSTOM') { |
78 |
activities.push(`${a.emoji?.toString()} ${a.state}`); |
activities.push(`${a.emoji ? `${a.emoji.toString()} ` : ''}${a.state}`); |
79 |
} |
} |
80 |
else if (a.type === 'LISTENING') { |
else if (a.type === 'LISTENING') { |
81 |
if (a.name === 'Spotify') { |
if (a.name === 'Spotify') { |