feat(controller): enhance message handling and user options for automatic notifications
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package controller
|
||||
|
||||
func Contains(slice []string, target string) bool {
|
||||
for _, s := range slice {
|
||||
if s == target {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user