diff --git a/src/commands/session b/src/commands/session new file mode 100644 index 0000000000..d7381de5df --- /dev/null +++ b/src/commands/session @@ -0,0 +1,20 @@ +import { SlashCommandBuilder, EmbedBuilder } from 'discord.js'; + +export default { + data: new SlashCommandBuilder() + .setName('session') + .setDescription('Start a roleplay session'), + + async execute(interaction) { + const embed = new EmbedBuilder() + .setTitle('🦅 | Session Started') + .setDescription( + 'A roleplay session has officially started!\n\n' + + '🎮 **Game Code:** WSSRPe\n' + + '📢 Join the session and participate in today’s roleplay!' + ) + .setTimestamp(); + + await interaction.reply({ embeds: [embed] }); + }, +}; diff --git a/src/config/bot.js b/src/config/bot.js index 86dc861cc3..5ab541e8a3 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -23,9 +23,9 @@ export const botConfig = { // 5 = Competing activities: [ { - name: "Custom Status", // required by Discord API, not shown in the client - state: "stalking", // this is what people actually see - type: 4, // Custom + name: "wsp", // required by Discord API, not shown in the client + state: "WSRP", // this is what people actually see + type: 3, // Custom }, ], }, @@ -648,4 +648,4 @@ export function getRandomColor() { return colors[Math.floor(Math.random() * colors.length)]; } -export default botConfig; \ No newline at end of file +export default botConfig; diff --git a/src/handlers/loaders/session.js b/src/handlers/loaders/session.js new file mode 100644 index 0000000000..a16a01d6a5 --- /dev/null +++ b/src/handlers/loaders/session.js @@ -0,0 +1,20 @@ +const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); + +module.exports = { + data: new SlashCommandBuilder() + .setName('session') + .setDescription('Start a roleplay session'), + + async execute(interaction) { + const embed = new EmbedBuilder() + .setTitle('🦅 | Session Started') + .setDescription( + 'A roleplay session has officially started!\n\n' + + '🎮 **Game Code:** WSSRPe\n' + + '📢 Join the session and participate in today’s roleplay!' + ) + .setTimestamp(); + + await interaction.reply({ embeds: [embed] }); + }, +};