Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
raphdcst committed Jun 25, 2024
1 parent 03302ab commit 462df4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/commands/embedTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as app from "#app"
export default new app.Command({
name: "embedTest",
botOwnerOnly: true,
description: "The embedTest command",
description: "A command to send test embeds",
aliases: ["et"],
channelType: "all",
positional: [
Expand Down
5 changes: 2 additions & 3 deletions src/namespaces/embeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export enum EmbedColors {
ERROR = 0xc60800
}

export type EmbedColor = keyof typeof EmbedColors

export type smallEmbedOptions = {
description: string
bot?: app.ClientUser
Expand All @@ -20,9 +22,6 @@ export type errorEmbedOptions = {
}


export type EmbedColor = keyof typeof EmbedColors


export function createSmallEmbed(options: smallEmbedOptions): app.APIEmbed {

const smallEmbed = {
Expand Down
3 changes: 2 additions & 1 deletion src/namespaces/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import * as app from "#app"

export const interactionLogger = new app.Logger({ section: 'interaction'})
export const createLogger = new app.Logger({ section: 'create'})
export const fetchLogger = new app.Logger({ section: 'fetch'})
export const fetchLogger = new app.Logger({ section: 'fetch'})
export const deleteLogger = new app.Logger({ section: 'delete'})

0 comments on commit 462df4c

Please sign in to comment.