def get_presets(ctx):
    """
    Get the valid setup string presets in the current context.
    """
    presets = {}
    if ctx.guild:
        presets.update(ctx.client.config.guilds.get(ctx.guild.id, "timer_presets") or {})  # Guild presets
    presets.update(ctx.client.config.users.get(ctx.author.id, "timer_presets") or {})  # Personal presets

    return presets