Added draft code for setting a custom prefix. Will be set at the channel level, checks if a prefix has been set and if not it will use @mention.
Also changed code to save details as json rather than xml. This makes it easier to add/remove customisation without having to rewrite the save/read code. However, had to create a subclass of json.JSONEncoder to allow the saving of datetimes and also had to edit the save code to convert strings back to datetimes when checking if entry should be removed.
Added draft code for setting a custom prefix. Will be set at the channel level, checks if a prefix has been set and if not it will use @mention.
Also changed code to save details as json rather than xml. This makes it easier to add/remove customisation without having to rewrite the save/read code. However, had to create a subclass of json.JSONEncoder to allow the saving of datetimes and also had to edit the save code to convert strings back to datetimes when checking if entry should be removed.