Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/commands/Giveaway/gcreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,30 @@ export default {
.setDescription("Starts a new giveaway in a specified channel.")
.addStringOption((option) =>
option
.setName("duration")
.setName("Zeit")
.setDescription(
"How long the giveaway should last (e.g., 1h, 30m, 5d).",
"Zeit des Giveaways (e.g., 1h, 30m, 5d).",
)
.setRequired(true),
)
.addIntegerOption((option) =>
option
.setName("winners")
.setDescription("The number of winners to pick.")
.setName("gewinner")
.setDescription("die zahlen vön gewinnern")
.setMinValue(GIVEAWAY_MIN_WINNERS)
.setMaxValue(GIVEAWAY_MAX_WINNERS)
.setRequired(true),
)
.addStringOption((option) =>
option
.setName("prize")
.setName("gewinn")
.setDescription("The prize being given away.")
.setRequired(true),
)
.addChannelOption((option) =>
option
.setName("channel")
.setDescription("The channel to send the giveaway to (defaults to current channel).")
.setDescription("Der kanal wo es gesendet wird (default kanal ist der aktuelle).")
.addChannelTypes(ChannelType.GuildText)
.setRequired(false),
)
Expand Down Expand Up @@ -116,7 +116,7 @@ export default {
const row = createGiveawayButtons(false);

const giveawayMessage = await targetChannel.send({
content: "🎉 **NEW GIVEAWAY** 🎉",
content: "🎉 **NEUES GIVEAWAY** 🎉",
embeds: [embed],
components: [row],
});
Expand Down Expand Up @@ -174,11 +174,11 @@ export default {
await InteractionHelper.safeReply(interaction, {
embeds: [
successEmbed(
`Giveaway Started! 🎉`,
`Giveaway hat gestartet 🎉`,
`A new giveaway for **${prizeName}** has been started in ${targetChannel} and will end in **${durationString}**.`,
),
],
flags: MessageFlags.Ephemeral,
});
},
};
};
6 changes: 3 additions & 3 deletions src/config/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const botConfig = {
// - "invisible" = appears offline
presence: {
// Current online state shown on Discord.
status: "online",
status: "dnd",

// Activity lines shown under the bot name.
// `type` number mapping from Discord:
Expand All @@ -24,7 +24,7 @@ export const botConfig = {
activities: [
{
name: "Custom Status", // required by Discord API, not shown in the client
state: "stalking", // this is what people actually see
state: "Hypercloud.bot", // this is what people actually see
type: 4, // Custom
},
],
Expand Down Expand Up @@ -648,4 +648,4 @@ export function getRandomColor() {
return colors[Math.floor(Math.random() * colors.length)];
}

export default botConfig;
export default botConfig;