|
cursor, err := util.Database.Mongo.Collection("bots").Find(context.TODO(), bson.M{}) |
|
if err != nil { |
|
return err, nil |
|
} |
|
var actual []Bot |
|
defer cursor.Close(context.TODO()) |
This issue was generated by todo based on a TODO
comment in e31f93e when #6 was merged. cc @discordextremelist.