bypass databse not found error
Check for database not found error and bypass it to create the netry, if no guild entry was existent at this point.
@@ -135,7 +135,7 @@ func (c *Autovc) add(ctx *ken.SubCommandCtx) (err error) {
ChannelValue(ctx.Ctx)
autovcs, err := db.GetGuildAutoVC(ctx.Event.GuildID)
- if err != nil {
+ if err != nil && !database.IsErrDatabaseNotFound(err) {
return
}
