Commit ce5c49dd authored by IS1_4M's avatar IS1_4M
Browse files

fixed auth giving people ecfaculty for -16 emails

parent 34557f1c
......@@ -216,18 +216,19 @@ async def on_message(message):
send_text += command + '\n\t'
await message.channel.send(send_text)
return
elif content.startswith('!help'):
elif content.startswith('!help') or content.startswith('!ocommands') or content.startswith('!ccommands') or content.startswith('!rcommands'):
commands = ['!clublist\n\t\t - Lists all clubs in ' + message.channel.guild.name, '!describeclub Clubname\n\t\t - Gives a Clubname\'s self-provided description', '!joinclub Clubname\n\t\t - Joins the club Clubname', '!leaveclub\n\t\t - Leaves a server\'s club',
'!makeclub Clubname\n\t\t - Makes a club with the clubname Clubname','!admin\n\t\t - Opens a channel with you and admins', '!report person reason\n\t\t - Sends a report on a person to an admin or club convener.',
'!addtextchannel The-name-of-the-public-category The-new-channel\'s-name\n\t\t - Adds a new public text channel in a category',
'!removetextchannel The-name-of-the-public-category The-new-channel\'s-name\n\t\t - Removes the public text channel YOU MADE from the category. Doesn\'t work for other people\'s channels',
'!addvoicechannel The-name-of-the-public-category The-new-channel\'s-name\n\t\t - Adds a new public voice channel in a category',
'!removevoicechannel The-name-of-the-public-category The-new-channel\'s-name\n\t\t - Removes the public voice channel YOU MADE from the category. Doesn\'t work for other people\'s channels',]
send_text = 'Commands in ' + message.channel.guild.name + ' are:\n\t'
send_text = '[WIP] Commands in ' + message.channel.guild.name + ' are:\n\t'
for command in commands:
send_text += command + '\n\t'
await message.channel.send(send_text)
return
elif content.startswith('!admin'):
await message.channel.send('not yet implemented...')
raise NotImplementedError()
......
......@@ -140,7 +140,7 @@ You should see an email from earlhamhackerscontrol@gmail.com in your zimbra emai
def valid_student_email(earlham_email_handle):
year = User.is_int(earlham_email_handle[-2:])
return (year and 17 <= year <= 20)
return (year and 16 <= year <= 20)
class ECMember:
def __init__(self):
# give them access to information channel and meet & greet channels.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment