forked from syntaxbullet/AuroraBot-discord
refactor: initial moves
This commit is contained in:
12
bot/modules/user/enrollment.view.ts
Normal file
12
bot/modules/user/enrollment.view.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { createErrorEmbed } from "@/lib/embeds";
|
||||
|
||||
export function getEnrollmentErrorEmbed(message: string, title: string = "Enrollment Failed") {
|
||||
const embed = createErrorEmbed(message, title);
|
||||
return { embeds: [embed] };
|
||||
}
|
||||
|
||||
export function getEnrollmentSuccessMessage(roleName: string) {
|
||||
return {
|
||||
content: `🎉 You have been successfully enrolled! You received the **${roleName}** role.`
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user