From f20a1740388ea57fc2642348f599585f1366b3b7 Mon Sep 17 00:00:00 2001 From: Will Date: Wed, 24 Apr 2019 15:24:31 -0400 Subject: [PATCH] Fix the check to raise the correct message (#2603) --- redbot/core/drivers/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redbot/core/drivers/__init__.py b/redbot/core/drivers/__init__.py index f600dd6be..5108049f0 100644 --- a/redbot/core/drivers/__init__.py +++ b/redbot/core/drivers/__init__.py @@ -40,9 +40,11 @@ def get_driver(type, *args, **kwargs): from .red_mongo import Mongo return Mongo(*args, **kwargs) - elif type == "Mongo": + elif type == "MongoDB": raise RuntimeError( "Please convert to JSON first to continue using the bot." " This is a required conversion prior to using the new Mongo driver." + " This message will be updated with a link to the update docs once those" + " docs have been created." ) raise RuntimeError("Invalid driver type: '{}'".format(type))