mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: rename to blitzkrieg
This commit is contained in:
1 parent
c61877a267
commit
bc798da88b
19 files changed
+47
-193
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { EmbedBuilder, GuildMember, TextChannel } from 'discord.js';
|
||||
import discord from '../../discord.json' assert { type: 'json' };
|
||||
import { SKILLED_COLOR } from '../constants/colors.js';
|
||||
import { INFO_COLOR } from '../constants/colors.js';
|
||||
|
||||
export default async function (member: GuildMember) {
|
||||
if (member.guild.id === discord.sklld_guild_id) {
|
||||
@@ -12,7 +12,7 @@ export default async function (member: GuildMember) {
|
||||
content: member.toString(),
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setColor(SKILLED_COLOR)
|
||||
.setColor(INFO_COLOR)
|
||||
.setTitle(`Welcome ${member.user.username}`)
|
||||
.setDescription(
|
||||
`Welcome to the Skilled server, **${member.user.username}**! To continue, please use the \`/verify\` command.\n\nExample: \`/verify Europe Sabina244\``,
|
||||
|
||||
@@ -16,9 +16,9 @@ import getClientId from '../core/process/getClientId.js';
|
||||
import isDev from '../core/process/isDev.js';
|
||||
|
||||
export interface CommandRegistry {
|
||||
inDevelopment: boolean; // register with Skilled Bot (default: false)
|
||||
inProduction: boolean; // register with Skilled Canary (default: false)
|
||||
inPublic: boolean; // registers on all servers (default: true)
|
||||
inDevelopment: boolean;
|
||||
inProduction: boolean;
|
||||
inPublic: boolean;
|
||||
|
||||
command: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'>;
|
||||
execute: (interaction: ChatInputCommandInteraction<CacheType>) => void;
|
||||
|
||||
Reference in new issue
Block a user