Skip to content

Commit ba14990

Browse files
committed
fix: チャンネルによるバイパスができなかったのを修正
1 parent fd201a4 commit ba14990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/formatter/quotes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const quoteRegexStr = `\bhttps://q\.trap\.jp/messages/([0-9a-f]{8}-[0-9a-f]{4}-[
1313

1414
var quoteRegex = regexp.MustCompile(quoteRegexStr)
1515

16-
var allowingPrefixes = []string{"/event", "/general", "/random", "/services", "/team/SysAd"}
16+
var allowingPrefixes = []string{"event", "general", "random", "services", "team/SysAd"}
1717

1818
func isChannelAllowingQuotes(channelID string) (bool, error) {
1919
channelPath, err := bot.GetChannelPath(channelID)

0 commit comments

Comments
 (0)