1 |
import { ActivityType, ClientPresenceStatus, CommandInteraction, ExcludeEnum, GuildMember, Interaction, Message, PresenceStatus, PresenceStatusData } from 'discord.js'; |
import { ClientPresenceStatus, CommandInteraction, ExcludeEnum, Message } from 'discord.js'; |
2 |
import BaseCommand from '../../utils/structures/BaseCommand'; |
import BaseCommand from '../../utils/structures/BaseCommand'; |
3 |
import DiscordClient from '../../client/Client'; |
import DiscordClient from '../../client/Client'; |
4 |
import CommandOptions from '../../types/CommandOptions'; |
import CommandOptions from '../../types/CommandOptions'; |
5 |
import InteractionOptions from '../../types/InteractionOptions'; |
import InteractionOptions from '../../types/InteractionOptions'; |
|
import MessageEmbed from '../../client/MessageEmbed'; |
|
6 |
import { ActivityTypes } from 'discord.js/typings/enums'; |
import { ActivityTypes } from 'discord.js/typings/enums'; |
7 |
import { fetchEmoji } from '../../utils/Emoji'; |
import { fetchEmoji } from '../../utils/Emoji'; |
8 |
|
|
39 |
else { |
else { |
40 |
activity = options.args.join(' '); |
activity = options.args.join(' '); |
41 |
} |
} |
42 |
|
|
43 |
await client.randomStatus.update(activity, type, status); |
await client.randomStatus.config(activity, type); |
44 |
|
await client.randomStatus.update(status); |
45 |
|
|
46 |
await message.reply({ |
await message.reply({ |
47 |
content: (await fetchEmoji('check'))?.toString() + ' Status updated.' |
content: (await fetchEmoji('check'))?.toString() + ' Status updated.' |