If prefix is somehow not None, return the default bot prefix

pull/8/head
sgoudham 4 years ago
parent 93f7265f68
commit 2f35fd1e60

@ -203,7 +203,7 @@ def get_prefix_for_guild(guildid):
prefix = enso_cache[guildid]["Prefix"] prefix = enso_cache[guildid]["Prefix"]
if prefix is not None: if prefix is not None:
return prefix return prefix
return "defaultPrefix" return "~"
# --------------------------------------------!End Prefixes Section!---------------------------------------------------- # --------------------------------------------!End Prefixes Section!----------------------------------------------------

Loading…
Cancel
Save