WIP: Format code with Google Typescript formatting guidelines

This commit is contained in:
2025-07-04 10:39:32 -04:00
parent e53d38e0ad
commit c834acdfec
12 changed files with 596 additions and 235 deletions

View File

@@ -1,15 +1,15 @@
import { type Client, SlashCommandBuilder } from "discord.js";
import type { Sequelize } from "sequelize";
import {type Client, SlashCommandBuilder} from 'discord.js';
import type {Sequelize} from 'sequelize';
export default function (settings: { client: Client; db: Sequelize }) {
export default function (settings: {client: Client; db: Sequelize}) {
return {
data: new SlashCommandBuilder()
.setName("ping")
.setDescription("Send a ping to the bot"),
.setName('ping')
.setDescription('Send a ping to the bot'),
initialize: async () => {},
execute: async (interaction) => {
execute: async interaction => {
await interaction.reply(
`Pong! This command was run by ${interaction.user.username}, who joined on ${interaction.member.joinedAt}.`,
);