Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
Fixed crash in language command
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondIceNS committed Jun 10, 2018
1 parent 088387a commit 3c73078
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions objects/glimcontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
from lang import en_US, pt_BR


langs = {
'en-us': "English (US)",
'pt-br': "Português (BR)"
}


class GlimContext(commands.Context):
def __init__(self, **attrs):
super().__init__(**attrs)
Expand All @@ -18,6 +12,11 @@ def __init__(self, **attrs):
self.is_default = False
self.is_template = False

langs = {
'en-us': "English (US)",
'pt-br': "Português (BR)"
}

@property
def canvas(self):
return sql.guild_get_canvas_by_id(self.guild.id)
Expand Down

0 comments on commit 3c73078

Please sign in to comment.