lockdown: gae -> age

This commit is contained in:
Ave Ozkal 2019-02-21 01:21:40 +03:00
parent 807dd882af
commit 4ee1fbd7e8
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -8,7 +8,7 @@ class Lockdown:
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
async def set_sendmessgae(self, channel: discord.TextChannel, async def set_sendmessage(self, channel: discord.TextChannel,
role, allow_send, issuer): role, allow_send, issuer):
try: try:
roleobj = channel.guild.get_role(role) roleobj = channel.guild.get_role(role)