def getBotID(cursor):
    """
    Gets a suitable Bot User ID from a Humhub User Group called 'Bots'

    :return: Bots Humhub User ID
    :rtype: int
    """
    query = (
        "SELECT `user_id` FROM `group` JOIN `group_user` ON `group`.`id` = `group_user`.`group_id` WHERE `group`.`name` = 'Bots' ORDER BY user_id DESC LIMIT 1;"
        )
    cursor.execute(query)
    return cursor.fetchone()[0]
