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
3 changes: 2 additions & 1 deletion discord/commands/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ func enforceVerificationChannel(s *discordgo.Session, m *discordgo.MessageCreate
if config.DiscordVerificationChannel == "" || m.ChannelID != config.DiscordVerificationChannel {
return false
}
if strings.Contains(m.Content, "!verify") {
rest, ok := strings.CutPrefix(m.Content, config.DiscordPrefix)
if ok && strings.TrimSpace(rest) == "verify" {
return false
}

Expand Down
6 changes: 3 additions & 3 deletions web/src/pages/onboarding/steps/WelcomeStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const ROLE_OPTIONS: {
}[] = [
{
value: "member",
label: "Current member",
description: "Active student on the team",
label: "Member",
description: "UCSB students. New and interested members should select this.",
Icon: Users,
},
{
Expand All @@ -29,7 +29,7 @@ const ROLE_OPTIONS: {
{
value: "guest",
label: "Guest",
description: "Mentor, sponsor, or other",
description: "Only for non-UCSB members, such as mentors or sponsors",
Icon: UserPlus,
},
]
Expand Down
Loading