Skip to content

Commit

Permalink
chore: make command class names consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
GodderE2D committed May 26, 2024
1 parent e9f23f0 commit fedda0c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/commands/report/context-menu/reportDMMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ export class ReportDMMessageContextMenuCommand extends Command {
}

public override async contextMenuRun(interaction: MessageContextMenuCommandInteraction<"cached">) {
// console.log(interaction.command);
// console.log(interaction);
// console.log(interaction.targetMessage);
// return;

let message = interaction.targetMessage;
if (message.partial) message = await message.fetch();

Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { basicAdsRow } from "../../constants/advertisements.js";
import colours from "../../constants/colours.js";
import { prisma } from "../../index.js";

export class InviteCommand extends Command {
export class HelpChatInputCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, {
...options,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { EmbedBuilder, OAuth2Scopes, PermissionFlagsBits } from "discord.js";
import colours from "../../constants/colours.js";
import { env } from "../../index.js";

export class InviteCommand extends Command {
export class InviteChatInputCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, {
...options,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EmbedBuilder } from "discord.js";

import colours from "../../constants/colours.js";

export class PingCommand extends Command {
export class PingChatInputCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, {
...options,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/restart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { EmbedBuilder } from "discord.js";
import colours from "../../constants/colours.js";
import { env } from "../../index.js";

export class RestartCommand extends Command {
export class RestartChatInputCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, {
...options,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/vote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import emojis from "../../constants/emojis.js";
import { findOrCreateUser } from "../../functions/findOrCreateUser.js";
import { prisma } from "../../index.js";

export class VoteCommand extends Command {
export class VoteChatInputCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, {
...options,
Expand Down

0 comments on commit fedda0c

Please sign in to comment.