# -*- coding: utf-8 -*- import threading import time from classes import BaseCommand class Command(BaseCommand): """Set a message to be repeated to you in a certain amount of time.""" name = "remind" def check(self, data): if data.is_command and data.command in ["remind", "reminder"]: return True return False def process(self, data): if not data.args: msg = "please specify a time (in seconds) and a message in the following format: !remind