Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
add non-text in DelChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
JustHumanz committed Mar 11, 2022
1 parent d5b2663 commit d4b8fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/database/generaldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ func (Data *DiscordChannel) AddChannel() error {

//DelChannel delete discord channel from `disable` command
func (Data *DiscordChannel) DelChannel(errmsg string) error {
match, err := regexp.MatchString("Unknown|403|Delete|Missing", errmsg)
match, err := regexp.MatchString("Unknown|403||Delete|Missing|non-text", errmsg)
if err != nil {
return err
}
Expand Down

0 comments on commit d4b8fdf

Please sign in to comment.