-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update prettier styling (#17)
- Loading branch information
1 parent
5ec732e
commit bc4ed89
Showing
21 changed files
with
132 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { SlashCommandBuilder } from 'discord.js'; | ||
import { Command } from '../interface'; | ||
import { SlashCommandBuilder } from "discord.js"; | ||
import { Command } from "../interface"; | ||
|
||
export default { | ||
data: new SlashCommandBuilder().setName('ping').setDescription('Replies with Pong!').setDMPermission(false), | ||
data: new SlashCommandBuilder().setName("ping").setDescription("Replies with Pong!").setDMPermission(false), | ||
|
||
async execute(interaction) { | ||
const message = await interaction.reply({ content: 'Pong!', fetchReply: true }); | ||
const message = await interaction.reply({ content: "Pong!", fetchReply: true }); | ||
await interaction.editReply(`Pong! Latency is ${Math.abs(Date.now() - message.createdTimestamp)}ms.`); | ||
}, | ||
} as Command; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const COLOR = { | ||
WHITE: '#FFFFFF', | ||
WHITE: "#FFFFFF", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.